commit 483c44b6958cbd86626d6c29066174c4b301475a Author: shnee Date: Tue Nov 9 17:06:17 2021 -0500 Add example configs from libvirt provider. diff --git a/cloud_init.cfg b/cloud_init.cfg new file mode 100644 index 0000000..10cbe9d --- /dev/null +++ b/cloud_init.cfg @@ -0,0 +1,20 @@ +#cloud-config +# vim: syntax=yaml +# +# *********************** +# ---- for more examples look at: ------ +# ---> https://cloudinit.readthedocs.io/en/latest/topics/examples.html +# ****************************** +# +# This is the configuration syntax that the write_files module +# will know how to understand. encoding can be given b64 or gzip or (gz+b64). +# The content will be decoded accordingly and then written to the path that is +# provided. +# +# Note: Content strings here are truncated for example purposes. +ssh_pwauth: True +chpasswd: + list: | + root:terraform-libvirt-linux + expire: False + diff --git a/network_config.cfg b/network_config.cfg new file mode 100644 index 0000000..5b2cbca --- /dev/null +++ b/network_config.cfg @@ -0,0 +1,4 @@ +version: 2 +ethernets: + ens3: + dhcp4: true