summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-12-31 18:06:30 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-12-31 18:06:30 +0100
commit9e6bd813bfe399caf2d153c751145db4e601ec59 (patch)
treec6e113a50a6327969462814ac7515ca0c295d70c /roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
parentvm/guest: fix pci passthrough (diff)
finalize cloud-kvm for edis-kvm for now
Diffstat (limited to 'roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2')
-rw-r--r--roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
index 1dfd44db..3a3e1689 100644
--- a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
+++ b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
@@ -225,7 +225,7 @@ autoinstall:
- [ apt-get, -y, -q, auto-remove ]
- [ bash, -c, 'dpkg -l | grep "^rc" | awk "{ print(\$2) }" | xargs -r dpkg -P' ]
- [ sed, '/^PasswordAuthentication /d', -i, '/etc/ssh/sshd_config' ]
-{% if ubuntu_autoinstall_virtual_machine %}
+{% if ubuntu_autoinstall_poweroff_when_done %}
- [ poweroff ]
{% else %}
- [ reboot ]