|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/src/cloud-init/doc/rtd/reference/datasources/ |
Upload File : |
.. _datasource_zstack:
ZStack
******
ZStack platform provides an AWS EC2 metadata service, but with different
datasource identity. More information about ZStack can be found at
`ZStack`_.
Discovery
=========
To determine whether a VM is running on the ZStack platform, ``cloud-init``
checks DMI information via ``dmidecode -s chassis-asset-tag``. If the output
ends with ``.zstack.io``, it's running on the ZStack platform.
Metadata
--------
The same way as with EC2, instance metadata can be queried at: ::
GET http://169.254.169.254/2009-04-04/meta-data/
instance-id
local-hostname
User data
---------
The same way as with EC2, instance user data can be queried at: ::
GET http://169.254.169.254/2009-04-04/user-data/
meta_data.json
user_data
password
.. _ZStack: https://www.zstack.io