diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-03-15 10:05:10 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-03-15 10:05:10 +0300 |
commit | 71cfa60d22cf52b8d4789ac826368ede22dae6de (patch) | |
tree | e1bbb39bb1682fbb4c1c4f5802ef1367daa65117 /batch.sh | |
parent | 6ed507a7f7348eec25439d44eea2f724c75f79b8 (diff) |
batch build improvements
Diffstat (limited to 'batch.sh')
-rwxr-xr-x | batch.sh | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -11,15 +11,16 @@ IP=$1 # First argument is the QEMU Raspbian IP address -IMG=$2 # TODO -IMG=NextCloudPi_03-13-17.img +IMGFILE="NextCloudPi_$( date "+%m-%d-%y" ).img" -NO_CONFIG=1 NO_HALT_STEP=1 ./install-nextcloud.sh $IP -NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh fail2ban.sh $IP $( ls -1t *.img | head -1 ) -NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh no-ip.sh $IP $( ls -1t *.img | head -1 ) -NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh dnsmasq.sh $IP $( ls -1t *.img | head -1 ) -#TODO rename to FULL +NO_CONFIG=1 NO_HALT_STEP=1 ./install-nextcloud.sh $IP $IMGFILE +NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh fail2ban.sh $IP $( ls -1t *.img | head -1 ) +NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh no-ip.sh $IP $( ls -1t *.img | head -1 ) +NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh dnsmasq.sh $IP $( ls -1t *.img | head -1 ) +NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh letsencrypt.sh $IP $( ls -1t *.img | head -1 ) + +cp -v "$( ls -1t *.img | head -1 )" $( basename "$IMGFILE" .img )_FULL.img # License # |