mirror of
https://github.com/rancher/os.git
synced 2025-06-26 15:01:34 +00:00
Merge pull request #2000 from SvenDowideit/update-vmware-cloud-init-encoding
update the encoding key to match docker-machine
This commit is contained in:
commit
12409e7e20
@ -172,7 +172,7 @@ func (v VMWare) FetchMetadata() (metadata datasource.Metadata, err error) {
|
||||
}
|
||||
|
||||
func (v VMWare) FetchUserdata() ([]byte, error) {
|
||||
encoding, err := v.readConfig("cloud-init.config.data.encoding")
|
||||
encoding, err := v.readConfig("cloud-init.data.encoding")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ As of v1.1.0, RancherOS automatically detects that it is running on VMware ESXi,
|
||||
| `dns.server.<x>` | IP address |
|
||||
| `dns.domain.<y> | DNS search domain` |
|
||||
| `cloud-init.config.data | string` |
|
||||
| `cloud-init.config.data.encoding` | {"", "base64", "gzip+base64"} |
|
||||
| `cloud-init.data.encoding` | {"", "base64", "gzip+base64"} |
|
||||
| `cloud-init.config.url` | URL |
|
||||
|
||||
> **Note:** "n", "m", "l", "x" and "y" are 0-indexed, incrementing integers. The identifier for an interface (`<n>`) is used in the generation of the default interface name in the form `eth<n>`.
|
||||
|
Loading…
Reference in New Issue
Block a user