1.

How Can I Change My Deployment’s Hostname?

Answer»

You can CHANGE the hostname after the deployment by CHANGING the FQDN parameter in /etc/software-factory/sfconfig.yaml, removing the existing SSL certificates (only required if running functional tests and using the default self-signed certificates) and running sfconfig again:

sed -i -e 's/fqdn:.*/fqdn: mynewhostname.com/g' /etc/software-factory/sfconfig.yaml
sfconfig

note: that you might need to update URLS in other places as well, for example git remote urls in .gitreview and .git/config files for repositories HOSTED on Software Factory.

You can change the hostname after the deployment by changing the fqdn parameter in /etc/software-factory/sfconfig.yaml, removing the existing SSL certificates (only required if running functional tests and using the default self-signed certificates) and running sfconfig again:

sed -i -e 's/fqdn:.*/fqdn: mynewhostname.com/g' /etc/software-factory/sfconfig.yaml
sfconfig

note: that you might need to update URLs in other places as well, for example git remote urls in .gitreview and .git/config files for repositories hosted on Software Factory.



Discussion

No Comment Found