mirror of
https://github.com/rancher/os.git
synced 2025-07-31 22:47:16 +00:00
update the encoding key to match docker-machine
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
parent
6dc7faf9b2
commit
732f1924e1
@ -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