fix: add optional FQDN configuration to VM template and Cloud-Init user-data
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#cloud-config
|
||||
|
||||
hostname: {{ hostname }}
|
||||
{% if domain is defined and domain %}
|
||||
fqdn: {{ hostname }}.{{ domain }}
|
||||
{% endif %}
|
||||
|
||||
users:
|
||||
- name: {{ ci_user }}
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
|
||||
Reference in New Issue
Block a user