a bunch of noob scripts for truenas scale.
Grab the next IP by running this command. optional flags:
- list-apps
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/NextAvailableIP.sh | bash -s
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/NextAvailableIP.sh | bash -s list-apps
download the script
wget https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/smbAuxUpdater.sh
edit the script and change some values that say CHANGE_ME.
- BASE_URL
- AUTH_TOKEN
- SMB_USERS
nano smbAuxUpdater.sh
make the script executable and run it.
chmod +x smbAuxUpdater.sh
smbAuxUpdater.sh
update current charts to the latest trains name.
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/patchTCTrains.sh | bash --
update PVC storageClass with SCALE-ZFS
ALl charts will be checked but wont be updated.
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/pvcStorageClassUpater.sh | bash -s -- --dry-run
Check a single Chart with the dry run flag.
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/pvcStorageClassUpater.sh | bash -s -- --dry-run --app APP
All charts will be checked and updated.
curl -sSL https://raw.githubusercontent.com/xstar97/scale-scripts/main/scripts/pvcStorageClassUpater.sh | bash -s --