Skip to content

Instantly share code, notes, and snippets.

View teutat3s's full-sized avatar
♻️
Bare metal

Jhonas Wernery teutat3s

♻️
Bare metal
View GitHub Profile
@teutat3s
teutat3s / triton-update-all
Last active February 8, 2022 12:47 — forked from bahamat/triton-update-all
Script to update/upgrade all components of SDC/Triton
[root@headnode (barovia) ~]# cat /opt/custom/bin/update-all
#!/bin/bash
set -o errexit
set -o xtrace
imgadm vacuum -f
sdcadm update --all --just-images -y
sdcadm self-update --allow-major-update --latest