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" ;;
|
||||
esac
|
||||
done
|
||||
grub-mkconfig > /boot/grub/grub.cfg
|
||||
for root_dev in $root_devs; do
|
||||
grub-install --target=i386-pc --recheck --force "$root_dev"
|
||||
done
|
||||
grub-mkconfig > /boot/grub/grub.cfg
|
||||
elif [ "$bootloader" = "syslinux" ]; then
|
||||
# If you are still using eth* as interface name, disable "strange" ifnames
|
||||
grep -q '^[[:space:]]*eth' /proc/net/dev && tmp="net.ifnames=0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue