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-03-13 21:20:26 +0300
committernachoparker <nacho@ownyourbits.com>2017-03-14 20:14:35 +0300
commit2a49453204dc5f301883f6ea045980bf1325e53c (patch)
treeb503277f174aa4e7e56e87c98ff48828f1d987bf /batch.sh
parent531c5d664d5c78c5bde30daf188ac33b78b7c6fe (diff)
11.0.2 update. nextcloudpi-config integration. configure datadir and limits. offline copy. batch builds. fixes
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh18
1 files changed, 11 insertions, 7 deletions
diff --git a/batch.sh b/batch.sh
index 92b07eb2..c442c759 100755
--- a/batch.sh
+++ b/batch.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Batch creation of NextCloudPi image
-# Tested with 2017-01-11-raspbian-jessie.img (and lite)
+# Tested with 2017-03-02-raspbian-jessie-lite.img
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# GPL licensed (see end of file) * Use at your own risk!
@@ -9,13 +9,17 @@
# Usage:
#
-INSTALL_SCRIPT=$1 # First argument is the script to be run inside Raspbian
-IMGFILE=$2 # Second argument is the image file to start from ( empty for online installation )
- ./install-nextcloud.sh $IP
-NO_CONFIG=1 ./installer.sh fail2ban.sh $IP $IMG
-NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh no-ip.sh $IP $IMG
-NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh dnsmasq.sh $IP $IMG
+IP=$1 # First argument is the QEMU Raspbian IP address
+IMG=$2 # TODO
+
+IMG=NextCloudPi_03-13-17.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
# License
#