Skip to content

Commit

Permalink
image: Use labels root and boot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cgwalters committed Sep 13, 2018
1 parent 84a00c2 commit 0fdb511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image.ks
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0fdb511

Please sign in to comment.