T
T
Turing Pi V1
Search…
⌃K

Change hostnames

To change a hostname, you should first login into the node using SSH and then type
sudo nano /etc/cloud/cloud.cfg
Then find preserve_hostname: false and change it to preserve_hostname: true
Save and exit.
Then type the following command in your terminal window
sudo nano /etc/hostname
Change the hostname to worker01, for example.
Save, exit, and reboot.
sudo reboot