← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~chad.smith/cloud-init:cleanup/render-az-instance-data-for-azure into cloud-init:master

 

The proposal to merge ~chad.smith/cloud-init:cleanup/render-az-instance-data-for-azure into cloud-init:master has been updated.

Description changed to:

Example Azure IMDS instance-data.json:

{
 "base64-encoded-keys": [
  "ds/meta-data/random_seed",
  "ds/user-data"
 ],
 "ds": {
  "meta-data": {
   "azure_data": {
    "configurationsettype": "LinuxProvisioningConfiguration"
   },
   "imds": {
    "compute": {
     "location": "eastus2",
     "name": "my-c1",
     "offer": "UbuntuServer",
     "osType": "Linux",
     "placementGroupId": "",
     "platformFaultDomain": "0",
     "platformUpdateDomain": "0",
     "publisher": "Canonical",
     "resourceGroupName": "srugroup1",
     "sku": "18.10-DAILY",
     "subscriptionId": "12aad61c-6de4-4e53-a6c6-5aff52a83777",
     "tags": "",
     "version": "18.10.201808150",
     "vmId": "a23bf3e3-ed47-4ae3-919f-8e4b445a5624",
     "vmScaleSetName": "",
     "vmSize": "Standard_DS1_v2",
     "zone": ""
    },
    "network": {
     "interface": [
      {
       "ipv4": {
        "ipAddress": [
         {
          "privateIpAddress": "10.0.0.4",
          "publicIpAddress": "104.210.15.52"
         }
        ],
        "subnet": [
         {
          "address": "10.0.0.0",
          "prefix": "24"
         }
        ]
       },
       "ipv6": {
        "ipAddress": []
       },
       "macAddress": "000D3A04186B"
      }
     ]
    }
   },
   "instance-id": "e3f33ba2-47ed-e34a-919f-8e4b445a5624",
   "local-hostname": "my-c1",
   "random_seed": "T0VNMGQAAAABTVZSVFVBTE1JQ1JPU0ZUAhcABk1TRlSXAAAA8AwjVxwe3X9w76ahFp8SESrhF6AtP/c/rTcRlJNgsqTyQc85yMgLeIuXcpQvBsF0vxstzBuBqbY64qpQ2N2YNw=="
  },
  "user-data": "I2Nsb3VkLWNvbmZpZwpzc2hfaW1wb3J0X2lkOiBbY2hhZC5zbWl0aF0KaG9zdG5hbWU6IFNSVS13b3JrZWQKcnVuY21kOgogICAgICAgICAgLSBlY2hvICdoaScKICAgICAgICAgIC0gZWNobyAnaGknICAgIyBDaGVjayBMUDogIzE3NjQyNjQgU2NoZW1hOiBkbyBub3Qgd2FybiBvbiBkdXBsaWNhdGUgaXRlbXMgaW4gY29tbWFuZHMKCg==",
  "vendor-data": null
 },
 "v1": {
  "availability-zone": null,
  "cloud-name": "azure",
  "instance-id": "e3f33ba2-47ed-e34a-919f-8e4b445a5624",
  "local-hostname": "my-c1",
  "region": null
 }
}


For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/353530
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:cleanup/render-az-instance-data-for-azure into cloud-init:master.