aboutsummaryrefslogtreecommitdiff
path: root/configs/data-dir/preseed
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2020-04-01 10:09:26 -0700
committerRaul Benencia <rul@kalgan.cc>2020-04-01 10:11:46 -0700
commit5f2ba83e131c5a67f979abb909fecb59651c44ac (patch)
tree0acfa9bef4458aee5d04dd87535b4473c096eac4 /configs/data-dir/preseed
parenta21d894fb128e49d6ef912bbed51bfb0754223fa (diff)
Support config subdirectories
Diffstat (limited to 'configs/data-dir/preseed')
-rw-r--r--configs/data-dir/preseed/common.preseed.slc2
-rw-r--r--configs/data-dir/preseed/debian.preseed.slc6
-rw-r--r--configs/data-dir/preseed/storage.preseed.slc4
-rw-r--r--configs/data-dir/preseed/ubuntu-minimal.preseed.slc4
4 files changed, 8 insertions, 8 deletions
diff --git a/configs/data-dir/preseed/common.preseed.slc b/configs/data-dir/preseed/common.preseed.slc
index bcbf98b..8abd284 100644
--- a/configs/data-dir/preseed/common.preseed.slc
+++ b/configs/data-dir/preseed/common.preseed.slc
@@ -1,4 +1,4 @@
-{{define "common.preseed"}}
+{{define "preseeds/common"}}
d-i auto-install/enable boolean true
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
diff --git a/configs/data-dir/preseed/debian.preseed.slc b/configs/data-dir/preseed/debian.preseed.slc
index 0915fe3..ab37afc 100644
--- a/configs/data-dir/preseed/debian.preseed.slc
+++ b/configs/data-dir/preseed/debian.preseed.slc
@@ -1,5 +1,5 @@
-{{define "debian.preseed" -}}
-{{template "common.preseed"}}
+{{define "preseeds/debian" -}}
+{{template "preseeds/common"}}
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
@@ -15,7 +15,7 @@ d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
-d-i user-setup/encrypt-home boolean false
+d-i user-setup/encrypt-home boolean {{.encrypt_home}}
d-i base-installer/install-recommends boolean true
diff --git a/configs/data-dir/preseed/storage.preseed.slc b/configs/data-dir/preseed/storage.preseed.slc
index 982b41b..ca2aadc 100644
--- a/configs/data-dir/preseed/storage.preseed.slc
+++ b/configs/data-dir/preseed/storage.preseed.slc
@@ -1,5 +1,5 @@
-{{define "storage.preseed" -}}
-{{template "common.preseed"}}
+{{define "preseeds/storage" -}}
+{{template "preseeds/common"}}
# The method should be set to "raid".
d-i partman-auto/method string raid
diff --git a/configs/data-dir/preseed/ubuntu-minimal.preseed.slc b/configs/data-dir/preseed/ubuntu-minimal.preseed.slc
index 2138764..08013ff 100644
--- a/configs/data-dir/preseed/ubuntu-minimal.preseed.slc
+++ b/configs/data-dir/preseed/ubuntu-minimal.preseed.slc
@@ -1,5 +1,5 @@
-{{define "ubuntu-minimal.preseed" -}}
-{{template "common.preseed"}}
+{{define "preseeds/ubuntu-minimal" -}}
+{{template "preseeds/common"}}
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
nihil fit ex nihilo