X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qm-cloud-init-opts.adoc;h=fc6d37868f94d67b13230163b84e018702cccbf1;hb=6577d36ec0fa692b1e2ba4fd40340ad888ee1abb;hp=2fa17351703363cf90d99447f794a60d804b3dd5;hpb=8dadf555ba1e3543d2d923343aa60f26f7aa47be;p=pve-docs.git diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc index 2fa1735..fc6d378 100644 --- a/qm-cloud-init-opts.adoc +++ b/qm-cloud-init-opts.adoc @@ -1,24 +1,29 @@ -`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`=`` ;; -Specify a custom file containing all network data passed to the VM via cloud-init. +To pass a custom file containing all network data to the VM via cloud-init. `user`=`` ;; -Specify a custom file containing all user data passed to the VM via cloud-init. +To pass a custom file containing all user data to the VM via cloud-init. + +`vendor`=`` ;; + +To pass a custom file containing all vendor data 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`=`` ;;