mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Merge pull request #360 from marineam/usr
grub: use new mount.usr kernel command line args
This commit is contained in:
commit
8fe13fb68a
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user