summaryrefslogtreecommitdiff
path: root/roles/install-grub/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install-grub/tasks/main.yml')
-rw-r--r--roles/install-grub/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/install-grub/tasks/main.yml b/roles/install-grub/tasks/main.yml
index 2a20271..33a1049 100644
--- a/roles/install-grub/tasks/main.yml
+++ b/roles/install-grub/tasks/main.yml
@@ -20,7 +20,7 @@
- name: Install GRUB in the boot sector of {{ vyos_target_drive }}
become: true
- command: chroot {{ vyos_install_root }} grub-install --no-floppy --root-directory=/boot {{ vyos_target_drive }} --force
+ command: chroot {{ vyos_install_root }} grub-install --no-floppy --root-directory=/boot {{ vyos_target_drive }} --force --target=i386-pc
args:
creates: "{{ vyos_install_root }}/boot/grub/grubenv"