threefoldtecharchive / 0-templates

0-robot templates
Apache License 2.0
1 stars 1 forks source link

Gateway container's hostname is not the hostname given in data #218

Closed AhmedHanafy725 closed 5 years ago

AhmedHanafy725 commented 5 years ago

Data:

gw_data = {'hostname': '474906aad8e29edaf55f83', 'networks': [{'name': 'public_nic', 'type': 'default', 'public': True, 'id': ''}], 'portforwards': [], 'httpproxies': [], 'domain': '', 'certificates': [], 'routes': [], 'ztIdentity': ''}

Steps:

1- create gateway with this data using tamplate github.com/threefoldtech/0-templates/gateway/0.0.1

Result

container's hostname is different than given one in data. guid is used here as container's hostname.

image