X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qm-cloud-init-opts.adoc;h=a03f3ac56cc694d72a7e05aa56fad9107584b982;hb=67558489055a7538728d6f1c4f2e467ea26ad88e;hp=705a8c507c6d2d86be24be46fedf54f859a37c3a;hpb=65c8d802b99295cb33a3667f256cd7749d764c70;p=pve-docs.git diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc index 705a8c5..a03f3ac 100644 --- a/qm-cloud-init-opts.adoc +++ b/qm-cloud-init-opts.adoc @@ -1,3 +1,20 @@ +`cicustom`: `[meta=] [,network=] [,user=]` :: + +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. + +`network`=`` ;; + +Specify a custom file containing all network data passed to the VM via cloud-init. + +`user`=`` ;; + +Specify a custom file containing all user 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. @@ -16,10 +33,12 @@ 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. + -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`=`` ;; @@ -43,11 +62,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`: `` ::