Scripts and files used to build Cluster HAT images from Raspbian.
Please add the software sources first:
sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.com/keyring.gpg
sudo apt update
Then you can install packages:
clusterhat-image
- Image Creatorclusterctl
- Clusterctlclusterctl-usbboot
- USB Boot support for clusterctl
Simply run
clusterhat-creator
to download initial images and build ClusterHat ones
Install package clusterctl for /usr/sbin/clusterctl commad
You can also turn several PiZeros using chtui command
sudo /usr/sbin/chtui
Note: PiZero state is restored at the host boot using /lib/systemd/system/clusterctrl-state.service
The build script is located in the build directory.
The following is normally ran as root on a fresh Raspbian images.
git clone https://github.com/burtyb/clusterhat-image
cd clusterhat-image/build/
# Create a config-local.sh file and copy any lines you need to override from config.sh
./create 2017-09-07
The "2017-09-07" date above should be the date from the Raspbian/Raspberry Pi OS image you wish to convert.
When building arm64 images you need to be on an arm64 machine.
The files/ directory contains the files extracted into the root filesystem of a Cluster HAT image.
For support contact: https://secure.8086.net/billing/submitticket.php?step=2&deptid=1