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-06-07 05:24:20 +0300
committernachoparker <nacho@ownyourbits.com>2017-06-07 05:59:16 +0300
commit332523b9f91e846c00f6540cfcfdc4d774d9e6a5 (patch)
tree24b54ba1f559d3c68e5317c526db838e483c43ce /batch.sh
parent463eee94d3835bce71dab61c406b6a35ba577798 (diff)
docker container construction
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/batch.sh b/batch.sh
index da17d404..63a7f7dd 100755
--- a/batch.sh
+++ b/batch.sh
@@ -12,13 +12,17 @@
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
+NC_INSTALL=etc/nextcloudpi-config.d/nc-nextcloud.sh
+NC_CONFIG=etc/nc-init.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 )
+export NO_CONFIG=1 # skip interactive configuration
+
+NO_HALT_STEP=1 ./install-nextcloud.sh $IP $IMGBASE
+ ./installer.sh $NC_INSTALL $IP $( ls -1t *.img | head -1 )
+ ./installer.sh $NC_CONFIG $IP $( ls -1t *.img | head -1 )
+ ./installer.sh nextcloudpi.sh $IP $( ls -1t *.img | head -1 )
IMGFILE=$( ls -1t *.img | head -1 )
IMGOUT=$( basename "$IMGFILE" _base_nc-nextcloud_nextcloudpi.img ).img