Skip to content

PureHTML/clusterhat-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cluster HAT

InAction

Scripts and files used to build Cluster HAT images from Raspbian.

Installation

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 Creator
  • clusterctl - Clusterctl
  • clusterctl-usbboot- USB Boot support for clusterctl

Usage

Simply run

clusterhat-creator

to download initial images and build ClusterHat ones

ClusterCTL

Install package clusterctl for /usr/sbin/clusterctl commad

You can also turn several PiZeros using chtui command

sudo /usr/sbin/chtui

chtui

Note: PiZero state is restored at the host boot using /lib/systemd/system/clusterctrl-state.service

Building Cluster HAT Images

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.

Cluster HAT Files

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

About

Converts Raspbian images to support Cluster HAT

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 53.5%
  • Python 46.2%
  • Other 0.3%