omyacid: try another tactic for default username
This commit is contained in:
		
							parent
							
								
									8cca433f91
								
							
						
					
					
						commit
						926997c1d1
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -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 %} | ||||
		Loading…
	
		Reference in a new issue