]> git.proxmox.com Git - pve-docs.git/blobdiff - qm-cloud-init-opts.adoc
buildsys: change upload dist to bullseye
[pve-docs.git] / qm-cloud-init-opts.adoc
index 43e44158dab874d676f04e8c9cf08143979b6c93..67be94e18f848195c1250a17f0e45f2c26799a27 100644 (file)
@@ -4,7 +4,8 @@ Specify custom files to replace the automatically generated ones at start.
 
 `meta`=`<volume>` ;;
 
-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`=`<volume>` ;;
 
@@ -18,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`: `<configdrive2 | nocloud>` ::
+`citype`: `<configdrive2 | nocloud | opennebula>` ::
 
 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 +33,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`=`<GatewayIPv4>` ;;
 
@@ -59,11 +63,15 @@ IPv6 address in CIDR format.
 
 `nameserver`: `<string>` ::
 
-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`: `<string>` ::
 
-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`: `<string>` ::