curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #01831
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
Alexsander de Souza has proposed merging ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master.
Commit message:
add support to LVM-based raw images
when a raw image has LVM partitions, we need to call pvscan, vgscan and vgchange so curtin can find and mount the rootfs successfully.
Requested reviews:
curtin developers (curtin-dev)
For more details, see:
https://code.launchpad.net/~alexsander-souza/curtin/+git/curtin/+merge/408913
Call pvscan, vgscan and vgchange after dd'ing a raw image, so curtin can find a rootfs in a virtual volume.
--
Your team curtin developers is requested to review the proposed merge of ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master.
diff --git a/curtin/commands/block_meta.py b/curtin/commands/block_meta.py
index aae85c6..ff655cf 100644
--- a/curtin/commands/block_meta.py
+++ b/curtin/commands/block_meta.py
@@ -146,6 +146,8 @@ def write_image_to_disk(source, dev):
'--', source['uri'], devnode])
util.subp(['partprobe', devnode])
udevadm_settle()
+ lvm.lvm_scan()
+ lvm.activate_volgroups()
# Images from MAAS have well-known/required paths present
# on the rootfs partition. Use these values to select the
# root (target) partition to complete installation.
Follow ups
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-26
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-26
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-26
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-26
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-26
-
Invalid Commit Message
From: Server Team CI bot, 2021-11-26
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-26
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Server Team CI bot, 2021-11-25
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-25
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Alexsander de Souza, 2021-11-23
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-11-23
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Alexsander de Souza, 2021-11-22
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Alexsander de Souza, 2021-11-10
-
[Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Alexsander de Souza, 2021-11-10
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Michael Hudson-Doyle, 2021-09-28
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Dan Bungert, 2021-09-27
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Alexsander de Souza, 2021-09-21
-
Re: [Merge] ~alexsander-souza/curtin:deploy_raw_lvm_images into curtin:master
From: Dan Bungert, 2021-09-21