mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
add 2 utility scripts
This commit is contained in:
parent
f413a9f112
commit
3ad29ffc59
2 changed files with 65 additions and 0 deletions
19
iiab-setup
Normal file
19
iiab-setup
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash -e
|
||||
# Running from a git repo
|
||||
# Assumes iiab repos are downloaded
|
||||
|
||||
apt -y update
|
||||
apt -y full-upgrade
|
||||
|
||||
apt -y install git curl nano gawk wget pastebinit
|
||||
|
||||
cd /opt/iiab/iiab
|
||||
scripts/ansible
|
||||
|
||||
mkdir -p /etc/iiab/install-flags
|
||||
|
||||
if [ ! -f /etc/iiab/local_vars.yml ]; then
|
||||
cp /opt/iiab/iiab/vars/local_vars_none.yml /etc/iiab/local_vars.yml
|
||||
fi
|
||||
|
||||
reboot
|
||||
Loading…
Add table
Add a link
Reference in a new issue