Upgrade clusterhat image to 22.04

PHOTO EMBED

Tue Jul 25 2023 20:02:45 GMT+0000 (Coordinated Universal Time)

Saved by @Shuhab #bash

# https://groups.google.com/g/clusterhat/c/sdGfxaPjUmk

Updated ClusterCTRL images (based on Raspberry Pi OS 2023-05-03) for ClusterHAT (v1.x or v2.x) and ClusterCTRL A+6/Stack/Single/Triple.

https://clusterctrl.com/setup-software

Changes
=======

Updated to new Raspberry Pi OS release.
Update to latest version of clusterctrl tool.
Support newer "firstboot" method.

Upgrade
=======

The following command should be ran on all running images (cbridge/cnat/pX/usbboot).

sudo svn --force export https://github.com/burtyb/clusterhat-image/trunk/files /

Upgrade to the latest Raspberry Pi OS.

sudo apt update
sudo apt full-upgrade

If you're using usbboot you can update the filesystems quicker by chrooting into the directory and upgrading it from the controller (with the node shutdown).

Replacing X with the pX number.

sudo chroot /var/lib/clusterctrl/nfs/pX apt update
sudo chroot /var/lib/clusterctrl/nfs/pX apt full-upgrade
content_copyCOPY