===== Package Installation =====
1. Enter the image:
lchroot compute-image
2. Install necessary packages:
dnf install -y nano
3. Exit the image:
exit
4. Pack the image:
luna osimage pack compute-image
5. Reboot the compute/storage nodes:
luna control power reset \
node01,node02,node03,node04,node05,node06,node07,node08,node09,node10,node11,node12,node13,node14
6. Backup the image after the new configuration is tested successfully:
luna osimage remove full-compute-image-bak
luna osimage clone -o compute-image full-compute-image-bak
**Five main images are maintained:**
* //raw-compute-image-bak//: a fresh Rocky 9.6 compute-node image after running //ansible-playbook compute-default.yml//
* //compute-image//: the working image for compute nodes
* //full-compute-image-bak//: a backup copy of //compute-image//
* //storage-image//: the working image for storage nodes
* //full-storage-image-bak//: a backup copy of //storage-image//
**Hot changes can be applied in bulk with:**
pdsh -a "dnf install -y nano"
or if changes should be scoped:
pdsh -w node[01-14] "dnf install -y nano"
alternatively:
pdsh -g compute-group "dnf install -y nano"