From 926997c1d1fc7e81b97325f8576d248fad84d528 Mon Sep 17 00:00:00 2001 From: snow flurry Date: Thu, 15 Aug 2024 21:10:12 -0700 Subject: [PATCH] omyacid: try another tactic for default username --- omyacid/templates/meta-data.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/omyacid/templates/meta-data.yml b/omyacid/templates/meta-data.yml index 0536bac..0809914 100644 --- a/omyacid/templates/meta-data.yml +++ b/omyacid/templates/meta-data.yml @@ -1,5 +1,5 @@ instance_id: "iid-{{ inst_name }}" -local_hostname: "{{ inst_name }}" +local-hostname: "{{ inst_name }}" {% if !ssh_pubkeys.is_empty() -%} public-keys: {% for key in ssh_pubkeys -%} @@ -7,5 +7,7 @@ public-keys: {% endfor %} {%- endif -%} {% if let Some(user) = username -%} -default_username: "{{ user }}" +system_info: + default_user: + name: "{{ user }}" {%- endif %} \ No newline at end of file