Skip to content

Instantly share code, notes, and snippets.

@maverickbna
Created August 30, 2016 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maverickbna/5a7445727c02fa0210271dd8749c7599 to your computer and use it in GitHub Desktop.
Save maverickbna/5a7445727c02fa0210271dd8749c7599 to your computer and use it in GitHub Desktop.
{
"alias": "lx-centos-7",
"brand": "lx",
"kernel_version": "3.13.0",
"max_physical_memory": 2560,
"quota": 10,
"image_uuid": "21ed1470-2361-11e6-a349-a33c057f3399",
"resolvers": ["208.67.220.220", "208.67.222.222"],
"nics": [{
"nic_tag": "admin",
"ip": "10.0.0.200",
"netmask": "255.255.255.0",
"gateway": "10.0.0.1",
"primary": true
}]
"customer_metadata": {
"root_authorized_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCAVMzzKyKGPmikLVJ/hHVqJ1G9IF36kMsLbp+HBlQ5jtHOcyOhogRWA9JkY4jp2UavHwq9lIEoAPaGqkGMDBN67EJTB+uA+F3dFkh1cC79/GcdH7aSz6ybYGrt/dgZlTfH6LPL8fhkMXIpDDRcvX/Lk81JGzYh5xSSgI+108VYD9xZB0zV9OMPp+o515K+iaDKU4Lqifbj0lYEdPgjoQhPL89cDuKUGZHM0Zu+d//SwfFC/jNTFzZ2BOyuEmZcUEPeZXoEDfcgonYeaUYAViLuCYhWDGXjZPpSyf0dN0g9v0dXLfATqMTR/6Cwrrh//wPt9YY4IOCcIyb36IXr2tYj imported-openssh-key",
"user-script" : "/usr/sbin/mdata-get root_authorized_keys > ~root/.ssh/authorized_keys ; /usr/sbin/mdata-get root_authorized_keys > ~admin/.ssh/authorized_keys"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment