My raspberry pi cluster
https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview
You will need to prepare the SD card for the Raspberry Pi.
1. initial login.
'ubuntu' is both the username and password for the initial adminitrator account on Ubuntu server. Upon initial login, the operating system will prompt you to change the password.
2. change the hostname
the hostname is contain in the file /etc/hostname.
sudo vi /etc/hostname
3. to keep things initially simpler (e.g. for the node to be able to identify each other by ip address), i assign static addresses to each node.
sudo vi /etc/netplan/99-config.yaml
the file should look like:
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- 10.0.0.20/24
gateway4: 10.0.0.1
nameservers:
addresses: [10.10.10.1, 1.1.1.1]
any other file should be deleted from the /etc/netplan folder
sudo rm /etc/netplan/50-cloud-init.yaml
we have to disabl cloud-init network configuration by adding the file
/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following
network: {config: disabled}