diff --git a/client/cloudinit/metadata.go b/client/cloudinit/metadata.go index 8444c4b9..939d25fe 100644 --- a/client/cloudinit/metadata.go +++ b/client/cloudinit/metadata.go @@ -1,8 +1,8 @@ package cloudinit type Metadata struct { - InstanceID string `yaml:"instance_id"` - LocalHostname string `yaml:"local_hostname"` - Platform string `yaml:"platform"` - ClusterName string `yaml:"cluster_name"` + InstanceID string `yaml:"instance_id",json:"instance_id"` + LocalHostname string `yaml:"local_hostname",json:"local_hostname"` + Platform string `yaml:"platform",json:"platform"` + ClusterName string `yaml:"cluster_name",json:"cluster_name"` }