ztnel / blade-k3s

TuringPi blade clustering setup for K3S on HypriotOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Persistant Hostname

ztnel opened this issue · comments

sudo hostnamectl set-hostname --static $hostname
...
sudo vi /etc/cloud/cloud.cfg
...
sudo vi /boot/user-data
hostname:$hostname
...
preserve_hostname: true