T
T
Turing Pi V1
Search…
Change hostnames
To change a hostname, you should first login into the node using SSH and then type
1
sudo nano /etc/cloud/cloud.cfg
Copied!
Then find preserve_hostname: false and change it to preserve_hostname: true
Save and exit.
Then type the following command in your terminal window
1
sudo nano /etc/hostname
Copied!
Change the hostname to worker01, for example.
Save, exit, and reboot.
1
sudo reboot
Copied!
Last modified 11mo ago
Copy link