From 0fdb511dbcb35b0472d909959b6346c915ae517c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 13 Sep 2018 17:59:15 -0400 Subject: [PATCH] image: Use labels `root` and `boot` This makes it easier for other tools (e.g. the oemid injection script) to discover the partitions without hardcoding the layout. Prep for dropping LVM. --- image.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image.ks b/image.ks index d9b04b86ee..b1c89c832e 100644 --- a/image.ks +++ b/image.ks @@ -24,10 +24,10 @@ clearpart --initlabel --all # - $coreos_firstboot # This is actually a GRUB variable bootloader --timeout=1 --append="no_timer_check console=ttyS0,115200n8 console=tty0 net.ifnames=0 biosdevname=0 ip=dhcp rd.neednet=1 rw $coreos_firstboot" -part /boot --size=300 --fstype="xfs" +part /boot --size=300 --fstype="xfs" --label=boot part pv.01 --grow volgroup coreos pv.01 -logvol / --size=3000 --fstype="xfs" --name=root --vgname=coreos +logvol / --size=3000 --fstype="xfs" --name=root --vgname=coreos --label=root reboot