From: Dietmar Maurer Date: Mon, 14 May 2018 09:50:14 +0000 (+0200) Subject: add missing file X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=65c8d802b99295cb33a3667f256cd7749d764c70;hp=0e9c6c133fe498556c33a2784ece92ff9db7e697 add missing file --- diff --git a/qm-cloud-init-opts.adoc b/qm-cloud-init-opts.adoc new file mode 100644 index 0000000..705a8c5 --- /dev/null +++ b/qm-cloud-init-opts.adoc @@ -0,0 +1,55 @@ +`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`: `` :: + +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. + +`ciuser`: `` :: + +User name to change ssh keys and password for instead of the image's configured default user. + +`ipconfig[n]`: `[gw=] [,gw6=] [,ip=] [,ip6=]` :: + +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. ++ +If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4. + +`gw`=`` ;; + +Default gateway for IPv4 traffic. ++ +NOTE: Requires option(s): `ip` + +`gw6`=`` ;; + +Default gateway for IPv6 traffic. ++ +NOTE: Requires option(s): `ip6` + +`ip`=`` ('default =' `dhcp`);; + +IPv4 address in CIDR format. + +`ip6`=`` ('default =' `dhcp`);; + +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. + +`searchdomain`: `` :: + +Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. + +`sshkeys`: `` :: + +Setup public SSH keys (one key per line, OpenSSH format). +