X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=qm-cloud-init-opts.adoc;h=c01aabd7f686686743f5f487a6dbc2c48a12380d;hp=2fa17351703363cf90d99447f794a60d804b3dd5;hb=6bc5d54db736ab9362e92b234fc5c9129e4b77e7;hpb=8dadf555ba1e3543d2d923343aa60f26f7aa47be diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc index 2fa1735..c01aabd 100644 --- a/qm-cloud-init-opts.adoc +++ b/qm-cloud-init-opts.adoc @@ -1,10 +1,11 @@ -`cicustom`: `[meta=] [,network=] [,user=]` :: +`cicustom`: `[meta=] [,network=] [,user=] [,vendor=]` :: Specify custom files to replace the automatically generated ones at start. `meta`=`` ;; -Specify a custom file containing all meta data passed to the VM via cloud-init. This is provider specific meaning configdrive2 and nocloud differ. +Specify a custom file containing all meta data passed to the VM via" + ." cloud-init. This is provider specific meaning configdrive2 and nocloud differ. `network`=`` ;; @@ -14,11 +15,15 @@ Specify a custom file containing all network data passed to the VM via cloud-ini Specify a custom file containing all user data passed to the VM via cloud-init. +`vendor`=`` ;; + +Specify a custom file containing all vendor data passed to the VM via cloud-init. + `cipassword`: `` :: 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. @@ -32,9 +37,13 @@ Specify IP addresses and gateways for the corresponding interface. + IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified. + -The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided. +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. 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. +If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using +dhcp on IPv4. `gw`=`` ;; @@ -58,11 +67,15 @@ IPv6 address in CIDR format. `nameserver`: `` :: -Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. +Sets DNS server IP address for a container. Create will' + .' automatically use the setting from the host if neither searchdomain nor nameserver' + .' are set. `searchdomain`: `` :: -Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. +Sets DNS search domains for a container. Create will' + .' automatically use the setting from the host if neither searchdomain nor nameserver' + .' are set. `sshkeys`: `` ::