summaryrefslogtreecommitdiffstats
path: root/http/ubuntu
diff options
context:
space:
mode:
authorJonathan Bauer2019-10-25 14:41:53 +0200
committerJonathan Bauer2019-10-25 14:41:53 +0200
commita9d037b1441767332d8cf7f6f648cbafe95d2075 (patch)
tree9bc67866f929f91f317511353e68ea4d43e92667 /http/ubuntu
parentcentos-8-x86_64.json: remove virtualbox/vmware (diff)
downloadpacker-templates-a9d037b1441767332d8cf7f6f648cbafe95d2075.tar.gz
packer-templates-a9d037b1441767332d8cf7f6f648cbafe95d2075.tar.xz
packer-templates-a9d037b1441767332d8cf7f6f648cbafe95d2075.zip
http/ubuntu/preseed.cfg: switch to ext4
+ minor fixes
Diffstat (limited to 'http/ubuntu')
-rw-r--r--http/ubuntu/preseed.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/http/ubuntu/preseed.cfg b/http/ubuntu/preseed.cfg
index 808e626..b2b7023 100644
--- a/http/ubuntu/preseed.cfg
+++ b/http/ubuntu/preseed.cfg
@@ -16,6 +16,7 @@ d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt
d-i partman/default_label string gpt
d-i partman-swapfile/size string 0
+d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string \
scheme :: \
@@ -24,13 +25,13 @@ d-i partman-auto/expert_recipe string \
$primary{ } \
$bios_boot{ } \
method{ biosgrub } . \
- 1 0 -1 xfs \
+ 1 0 -1 ext4 \
$gptonly{ } \
$primary{ } \
method{ format } \
format{ } \
use_filesystem{ } \
- filesystem{ xfs } \
+ filesystem{ ext4 } \
label{ SLX_SYS } \
mountpoint{ / } .
d-i partman-partitioning/confirm_write_new_label boolean true
@@ -44,7 +45,7 @@ d-i passwd/root-login boolean true
d-i user-setup/allow-password-weak boolean true
## install base packages ##
-d-i pkgsel/include string curl openssh-server ansible
+d-i pkgsel/include string openssh-server
d-i preseed/early_command string \
mkdir -p /usr/lib/post-base-installer.d && \
echo "sed -i -e 's/^in-target.*tasksel.*/#\\0/' /var/lib/dpkg/info/pkgsel.postinst" > /usr/lib/post-base-installer.d/90skip-tasksel && \
@@ -55,6 +56,7 @@ d-i preseed/late_command string \
in-target apt-get update ; \
in-target apt-get -y upgrade
+d-i grub-installer/bootdev string /dev/vda
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true