From 08be513b9bd3d41a69b9ea1009694fa7bc4f8876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 14 Dec 2021 16:55:22 +0000 Subject: roles/vmm: Remove extra lookup for password location --- roles/vmm/templates/autoinstall.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/vmm/templates') 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 -- cgit v1.2.3