diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-14 16:55:22 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-14 16:55:22 +0000 |
commit | 08be513b9bd3d41a69b9ea1009694fa7bc4f8876 (patch) | |
tree | 3f2a16cf1cb394508912ba179b4dbbcc8bfa63de /roles/vmm/templates | |
parent | dbfa30d3276cffcd242075a927fcb0efa55829c1 (diff) | |
download | rules-08be513b9bd3d41a69b9ea1009694fa7bc4f8876.tar.gz |
roles/vmm: Remove extra lookup for password location
Diffstat (limited to 'roles/vmm/templates')
-rw-r--r-- | roles/vmm/templates/autoinstall.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vmm/templates/autoinstall.conf.j2 b/roles/vmm/templates/autoinstall.conf.j2 index af6506e..440cc8b 100644 --- a/roles/vmm/templates/autoinstall.conf.j2 +++ b/roles/vmm/templates/autoinstall.conf.j2 @@ -6,7 +6,7 @@ Default IPv4 route = {{ ansible_default_ipv4.gateway }} DNS domain name = {{ __global_domain_name_hosts }}.{{ __global_domain_name }} DNS nameservers = {{ __global_domain_name_servers | join (" ") }} Do you expect to run the X Window System = no -Password for root = {{ lookup('password', lookup('env', 'PWD') ~ '/files/secrets/hosts/' ~ host.inventory_hostname ~ '/root-password') }}" +Password for root = {{ lookup('password', 'files/secrets/hosts/' ~ host.inventory_hostname ~ '/root@system.password') }} Public ssh key for root account = {{ vmm_default_ssh_key }} Which disk is the root disk = sd0 URL to autopartitioning template for disklabel = http://{{ ansible_default_ipv4.address }}/{{ item.lladdr }}-disklabel.conf |