mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-15 21:01:47 +00:00
Re-enable systemd predictable interface naming in cloud images
This commit is contained in:
parent
6340e292d6
commit
2c27aab38c
@ -41,7 +41,7 @@ GRUB_RECORDFAIL_TIMEOUT=0
|
|||||||
GRUB_TIMEOUT=0
|
GRUB_TIMEOUT=0
|
||||||
|
|
||||||
# Set the default commandline
|
# Set the default commandline
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0 earlyprintk net.ifnames=0"
|
GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0 earlyprintk"
|
||||||
EOF
|
EOF
|
||||||
prep_partition="/dev/mapper${loop_device///dev/}p2"
|
prep_partition="/dev/mapper${loop_device///dev/}p2"
|
||||||
chroot mountpoint grub-install "${prep_partition}" \
|
chroot mountpoint grub-install "${prep_partition}" \
|
||||||
|
@ -263,7 +263,7 @@ GRUB_RECORDFAIL_TIMEOUT=0
|
|||||||
GRUB_TIMEOUT=0
|
GRUB_TIMEOUT=0
|
||||||
|
|
||||||
# Set the default commandline
|
# Set the default commandline
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 net.ifnames=0"
|
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0"
|
||||||
|
|
||||||
# Set the grub console type
|
# Set the grub console type
|
||||||
GRUB_TERMINAL=console
|
GRUB_TERMINAL=console
|
||||||
|
Loading…
x
Reference in New Issue
Block a user