scripts: s/grub2-mkconfig/grub-mkconfig/
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
d16a693248
commit
6194afc47d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ GRUB_TERMINAL='serial console'
|
||||||
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
|
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
|
||||||
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
|
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
|
||||||
EOF
|
EOF
|
||||||
grub2-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
sed -r -i 's/loop[0-9]+p1/LABEL\=cloudimg-rootfs/g' /boot/grub/grub.cfg
|
sed -r -i 's/loop[0-9]+p1/LABEL\=cloudimg-rootfs/g' /boot/grub/grub.cfg
|
||||||
sed -i 's/root=.*\ ro/root=LABEL\=cloudimg-rootfs\ ro/' /boot/grub/grub.cfg
|
sed -i 's/root=.*\ ro/root=LABEL\=cloudimg-rootfs\ ro/' /boot/grub/grub.cfg
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue