Skip to content
Snippets Groups Projects
Unverified Commit a3d11e37 authored by Christian Rebischke's avatar Christian Rebischke Committed by GitHub
Browse files

Merge pull request #65 from shibumi/shibumi/grub-install-fix

added switch for grub-install
parents c6d4ffc2 76e09d55
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,10 @@ systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl enable pacman-init.service
grub-install
if [ -b "/dev/sda" ]; then
grub-install /dev/sda
elif [ -b "/dev/vda" ]; then
grub-install /dev/vda
fi
sed -i -e 's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment