diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-12-14 00:44:55 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-12-14 00:44:55 +0100 |
commit | 9f527c500e092bc17fd63403a86822d7f19fdc04 (patch) | |
tree | a7009d03240a3fc9807daca0a4b6e51cafdee2c8 /roles/vm-install/templates/preseed_debian-stretch.cfg.j2 | |
parent | install htoprc and disable installation of recommends (diff) |
improve handling of dummy lvm volume
Diffstat (limited to 'roles/vm-install/templates/preseed_debian-stretch.cfg.j2')
-rw-r--r-- | roles/vm-install/templates/preseed_debian-stretch.cfg.j2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/vm-install/templates/preseed_debian-stretch.cfg.j2 b/roles/vm-install/templates/preseed_debian-stretch.cfg.j2 index 8198d71b..c20b607b 100644 --- a/roles/vm-install/templates/preseed_debian-stretch.cfg.j2 +++ b/roles/vm-install/templates/preseed_debian-stretch.cfg.j2 @@ -1,5 +1,5 @@ ######################################################################### -# Radio Helsinki preseed file for Debian stretch based VMs +# spreadspace preseed file for Debian stretch based VMs ######################################################################### d-i debian-installer/language string en @@ -99,4 +99,6 @@ d-i grub-installer/with_other_os boolean false d-i finish-install/reboot_in_progress note -d-i preseed/late_command string in-target bash -c "passwd -d root; passwd -l root; umask 077; mkdir -p /root/.ssh/; echo -e '{{ sshserver_root_keys }}' > /root/.ssh/authorized_keys" +d-i preseed/late_command string \ + lvremove -f {{ inventory_hostname }}/dummy; \ + in-target bash -c "passwd -d root; passwd -l root; umask 077; mkdir -p /root/.ssh/; echo -e '{{ sshserver_root_keys }}' > /root/.ssh/authorized_keys" |