diff options
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 # |