summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-08-21 11:13:23 +0200
committerJonathan Bauer2018-08-21 11:13:23 +0200
commit9a5be3963ad03e2ec7202c9a784270be91089f4d (patch)
tree297e1b5b4a6c7ca714719e04baf96687cbd1f4be
parent[ubuntu] fix wrong fs in preseed (diff)
downloadpacker-templates-9a5be3963ad03e2ec7202c9a784270be91089f4d.tar.gz
packer-templates-9a5be3963ad03e2ec7202c9a784270be91089f4d.tar.xz
packer-templates-9a5be3963ad03e2ec7202c9a784270be91089f4d.zip
[ubuntu] make sure to install grub to the MBR
While the second directive is not needed in theory, it seems needed to ensure a consistent behavior...
-rw-r--r--http/ubuntu/preseed.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/http/ubuntu/preseed.cfg b/http/ubuntu/preseed.cfg
index 225bbc9..f93835c 100644
--- a/http/ubuntu/preseed.cfg
+++ b/http/ubuntu/preseed.cfg
@@ -51,4 +51,7 @@ d-i preseed/late_command string \
in-target apt-get update ; \
in-target apt-get -y upgrade
+d-i grub-installer/only_debian boolean true
+d-i grub-installer/with_other_os boolean true
+
d-i finish-install/reboot_in_progress note