I am in the process of deploying a HipChat server from the OVA file and when I add the host name to the 127.0.0.1 line in the hosts file, the change does not survive a reboot so during the boot process I see the warning saying "Cannot translate <my_hostname> to FQDN name -- Name or service not known.
Full disclosure...I am not a Linux person.
Instead of updating the /etc/hosts file manually, please update the FQDN directly in the web administration interface:
This will ensure the changes are retained after a reboot!
Bruno, we want to modify the sources.list to be able to add/update packages. We can modify it but once we reboot the VM, there must be a Chef cookbook that overwrites the file with an original version. How can we modify this behavior so that it does not wipe out our changes when the system reboots?
@Arbi Dridi the document seems a little misleading from the title. It does not give me enough information to figure out even where the Chef files are that are controlling the startup environment. The folder it references /etc/nginx/includes/files-site does not exist on my server. I have /etc/nginx/includes/web-site.
The file in the article is only used an example to illustrate how the changes can persist.
The idea is to create a startup script that will make the needed changes to your file.
For example, in your case, you'd need a script that makes the change to sources.list.
The article shows where to place the script and what to do to make sure it does what it's intended to.
If you're looking for the Chef template for sources.list, it's /hipchat-scm/chef-repo/cookbooks/ubuntu/templates/default/localsources.list.erb.
That being said, we do not recommend changing the Chef templates directly. Any changes you make will be reverted by upgrades anyways.
All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us. As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event