fixup! net.ifnames=0 in vm's grub

This commit is contained in:
parazyd 2017-07-20 17:09:34 +02:00
parent 378887ba79
commit 2e871f39e7
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ vm_setup_grub() {
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
apt-get --yes --force-yes install linux-image-amd64 grub-pc apt-get --yes --force-yes install linux-image-amd64 grub-pc
sed -e 's:GRUB_TIMEOUT=5:GRUB_TIMEOUT=1:' -i /etc/default/grub sed -e 's:GRUB_TIMEOUT=5:GRUB_TIMEOUT=1:' -i /etc/default/grub
sed -e 's:GRUB_CMDLINE_LINUX_DEFAULT=".*":GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"' \ sed -e 's:GRUB_CMDLINE_LINUX_DEFAULT=".*":GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0":' \
-i /etc/default/grub -i /etc/default/grub
update-grub update-grub
grub-install --no-floppy --recheck --modules="biosdisk part_msdos" \ grub-install --no-floppy --recheck --modules="biosdisk part_msdos" \