X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qm-cloud-init-opts.adoc;h=f4cc36f7bd941b677346745ca66586de0bbbfc91;hb=5a8fec5903ce678f27608f5a28e79f2be30f5b96;hp=43e44158dab874d676f04e8c9cf08143979b6c93;hpb=ac70d7d134ce81431aa875c336bd547094326d9b;p=pve-docs.git diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc index 43e4415..f4cc36f 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,10 +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. -For IPv6 the special string 'auto' can be used to use stateless autoconfiguration. +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`=`` ;;