threefoldtech / 0-bootstrap

Zero-OS Bootstrap Webservice
Apache License 2.0
1 stars 2 forks source link

Can I configure my own environment? #22

Closed robvanmieghem closed 1 year ago

robvanmieghem commented 1 year ago

It seems the environments prod, test, qa and dev are hardcoded. What would be needed to configure my own environment?

maxux commented 1 year ago

Just update this dictionary: https://github.com/threefoldtech/0-bootstrap/blob/development-v3/bootstrap.py#L26-L31

xmonader commented 1 year ago

@robvanmieghem is @maxux answer's enough or there more to be done?

robvanmieghem commented 1 year ago

It's annoying the way it is now as you have to update code

maxux commented 1 year ago

Why would you make that change more easily ? You will need to change the whole zos code to add new network support as well, so...

robvanmieghem commented 1 year ago

https://github.com/threefoldtech/home/issues/1384

maxux commented 1 year ago

https://github.com/threefoldtech/0-bootstrap/commit/09579899f2a38d7da5c30da066ef3a299dfca8b3 Would that be a solution for you ? Moving runmodes to config.

robvanmieghem commented 1 year ago

Yes, that would solve my problem.