hi i try to use readme adn install nextcloud
i make config like this:
and script fail in 5-6 sec
i make config like this:
^o ascii code ^x search ^l undelete line ^n next li ^v next page
^u end of file ^a begin of line ^w delete word ^b back 1 char ^z next word
^t top of text ^e end of line ^r restore word ^f forward char
^c command ^d delete char ^j undelete char ESC-Enter: exit
=====line 7 col 29 lines from top 7 ===========================================
JAIL_IP="192.168.1.102"
DEFAULT_GW_IP="192.168.0.1"
POOL_PATH="/mnt/Zacroma"
TIME_ZONE="Europe/Moscow"
HOST_NAME="blabla.ru"
STANDALONE_CERT=1
CERT_EMAIL="GALEX@mail.ru"
and script fail in 5-6 sec
+ cut -f1 -d/
+ IP=192.168.1.102
+ echo 192.168.1.102
+ cut -f2 -d/
+ NETMASK=192.168.1.102
+ [ 192.168.1.102 '=' 192.168.1.102 ]
+ NETMASK=24
+ [ 24 -lt 8 ]
+ [ 24 -gt 30 ]
+ ls -A /mnt/Zacroma/nextcloud/config
ls: /mnt/Zacroma/nextcloud/config: No such file or directory
+ [ '' ]
+ cat
+ iocage create --name nextcloud -p /tmp/pkg.json -r 13.2-RELEASE 'interfaces=vnet0:bridge0' 'ip4_addr=vnet0|192.168.1.102/24' 'defaultrouter=192.168.0.1' 'boot=on' 'host_hostname=nextcloud' 'vnet=on'
nextcloud successfully created!
Stopped nextcloud due to VNET failure
+ echo 'Failed to create jail'
Failed to create jail
+ exit 1
in the first step I created a config file in sublimetext in windows by WINSCP
then i run script
then i take fail somethin like that :
JAIL_IP="192.168.1.102\r" - bad char
then i remove jail nextcloud and edit config in "ee" utilite
then i try script and fail