omyacid: try another tactic for default username

This commit is contained in:
snow flurry 2024-08-15 21:10:12 -07:00
parent 8cca433f91
commit 926997c1d1

View file

@ -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 %}