diff options
Diffstat (limited to 'batch.sh')
-rwxr-xr-x | batch.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,15 +12,16 @@ source etc/library.sh # initializes $IMGNAME IP=$1 # First argument is the QEMU Raspbian IP address +NC_SCRIPT=etc/nextcloudpi-config.d/nc-nextcloud.sh IMGBASE="NextCloudPi_$( date "+%m-%d-%y" )_base.img" NO_CONFIG=1 NO_HALT_STEP=1 ./install-nextcloud.sh $IP $IMGBASE +NO_CONFIG=1 ./installer.sh $NC_SCRIPT $IP $( ls -1t *.img | head -1 ) NO_CONFIG=1 ./installer.sh nextcloudpi.sh $IP $( ls -1t *.img | head -1 ) -NO_CONFIG=1 ./installer.sh nextcloud.sh $IP $( ls -1t *.img | head -1 ) IMGFILE=$( ls -1t *.img | head -1 ) -IMGOUT=$( basename "$IMGFILE" _base ).img +IMGOUT=$( basename "$IMGFILE" _base_nc-nextcloud_nextcloudpi.img ).img pack_image "$IMGFILE" "$IMGOUT" md5sum $( ls -1t *.img | head -1 ) |