Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-05-20 20:10:11 +0300
committernachoparker <nacho@ownyourbits.com>2017-05-23 17:47:33 +0300
commit0909fce6d36022a59cbe8e68bd2c5239b5beec82 (patch)
tree3ae771265351f604c46f361acaffd1cb378468c4 /batch.sh
parent1df92f9eef9bea0935147c3e782c1fd63c1aa37f (diff)
add nextcloud instance installation command to ncp-configv0.9.0
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/batch.sh b/batch.sh
index ed5283e7..4048a02d 100755
--- a/batch.sh
+++ b/batch.sh
@@ -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 )