kindwolf.org Git repositories xavierg-snippets / master saltstack-driven-system-upgrades / salt-sid-upgrades-1
master

Tree @master (Download .tar.gz)

salt-sid-upgrades-1 @masterraw · history · blame

1
2
3
#!/bin/bash
codename='sid'
salt -C "G@lsb_distrib_codename:${codename}" -b 1 cmd.run 'git -C /opt/diff-so-fancy pull; ionice -c3 nice -n 19 apt update && ionice -c3 nice -n 19 apt full-upgrade -d -y'