Merge branch 'patch-1' into 'master'
Fix issue #58: There is no grub folder in the latest grub package. Closes #58 See merge request drizzt/vps2arch!49
This commit is contained in:
commit
7e93a39dcc
1 changed files with 1 additions and 1 deletions
2
vps2arch
2
vps2arch
|
@ -174,10 +174,10 @@ configure_bootloader() {
|
||||||
*) root_devs="${root_devs:+$root_devs }$tmp" ;;
|
*) root_devs="${root_devs:+$root_devs }$tmp" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
grub-mkconfig > /boot/grub/grub.cfg
|
|
||||||
for root_dev in $root_devs; do
|
for root_dev in $root_devs; do
|
||||||
grub-install --target=i386-pc --recheck --force "$root_dev"
|
grub-install --target=i386-pc --recheck --force "$root_dev"
|
||||||
done
|
done
|
||||||
|
grub-mkconfig > /boot/grub/grub.cfg
|
||||||
elif [ "$bootloader" = "syslinux" ]; then
|
elif [ "$bootloader" = "syslinux" ]; then
|
||||||
# If you are still using eth* as interface name, disable "strange" ifnames
|
# If you are still using eth* as interface name, disable "strange" ifnames
|
||||||
grep -q '^[[:space:]]*eth' /proc/net/dev && tmp="net.ifnames=0"
|
grep -q '^[[:space:]]*eth' /proc/net/dev && tmp="net.ifnames=0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue