grub: use new mount.usr kernel command line args

This commit is contained in:
Michael Marineau 2014-12-08 18:14:10 -08:00
parent 3a94b02f1d
commit a45ba5dc5e

View File

@ -58,18 +58,17 @@ function load_coreos {
echo "Booting CoreOS!" echo "Booting CoreOS!"
} }
# TODO: systemd 217 added mount.usr=, once we update we should switch
menuentry "CoreOS default" --id=coreos { menuentry "CoreOS default" --id=coreos {
gptprio.next -d root -u usr_uuid gptprio.next -d root -u usr_uuid
load_coreos usr=PARTUUID=$usr_uuid load_coreos mount.usr=PARTUUID=$usr_uuid
} }
menuentry "CoreOS USR-A" --id=coreos-a { menuentry "CoreOS USR-A" --id=coreos-a {
search --no-floppy --set root --part-label USR-A --hint "$root" search --no-floppy --set root --part-label USR-A --hint "$root"
load_coreos usr=PARTLABEL=USR-A load_coreos mount.usr=PARTLABEL=USR-A
} }
menuentry "CoreOS USR-B" --id=coreos-b { menuentry "CoreOS USR-B" --id=coreos-b {
search --no-floppy --set root --part-label USR-B --hint "$root" search --no-floppy --set root --part-label USR-B --hint "$root"
load_coreos usr=PARTLABEL=USR-B load_coreos mount.usr=PARTLABEL=USR-B
} }