X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qm-cloud-init-opts.adoc;h=67be94e18f848195c1250a17f0e45f2c26799a27;hb=151bbda876579c0df1a3c598e17a9e43e9ff82b6;hp=a03f3ac56cc694d72a7e05aa56fad9107584b982;hpb=4772952b604a1fd9bca16e70fbe6a1d3b2d7feca;p=pve-docs.git diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc index a03f3ac..67be94e 100644 --- a/qm-cloud-init-opts.adoc +++ b/qm-cloud-init-opts.adoc @@ -19,7 +19,7 @@ Specify a custom file containing all user data passed to the VM via cloud-init. Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords. -`citype`: `` :: +`citype`: `` :: Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows. @@ -35,7 +35,8 @@ IP addresses use CIDR notation, gateways are optional but need an IP of the same + The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided. -For IPv6 the special string 'auto' can be used to use stateless autoconfiguration. +For IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires +cloud-init 19.4 or newer. + If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.