Skip to content

Instantly share code, notes, and snippets.

@kvutien
Created September 15, 2021 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvutien/da694176b279aeea7f81042303550612 to your computer and use it in GitHub Desktop.
Save kvutien/da694176b279aeea7f81042303550612 to your computer and use it in GitHub Desktop.
change RPi hostname
ubuntu@ubuntu:~$ sudo hostnamectl set-hostname ipfs-pi64
ubuntu@ubuntu:~$ hostnamectl
Static hostname: ipfs-pi64
Icon name: computer
Machine ID: fe9bb4b2a6194fadb829dadad9dffbb6
Boot ID: 4241236bed6a4d55b4fb0a4a3f626936
Operating System: Ubuntu 20.04.3 LTS
Kernel: Linux 5.4.0-1042-raspi
Architecture: arm64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment