Unverified Commit 76e09d55 authored by Christian Rebischke's avatar Christian Rebischke
Browse files

added switch for grub-install

Signed-off-by: default avatarChristian Rebischke <chris@nullday.de>
parent c6d4ffc2
......@@ -74,6 +74,10 @@ systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl enable pacman-init.service
if [ -b "/dev/sda" ]; then
grub-install /dev/sda
elif [ -b "/dev/vda" ]; then
grub-install /dev/vda
sed -i -e 's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment