script to bootstrap new VMs

This commit is contained in:
2021-02-03 05:49:27 +00:00
parent 031032d4e5
commit 6a4f763052

10
newvm.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
# Fix locales - needed for Ubuntu containers
#wget http://git.groesz.org/wp/fixlocale/raw/branch/master/fixlocale.sh && sh fixlocale.sh
# update packages
#apt update
#DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
# bootstrap salt minion
#wget -O bootstrap-salt.sh -L https://bootstrap.saltproject.io && sh bootstrap-salt.sh -P -A saltmaster -i `hostname -s`