provided by
This commit is contained in:
@@ -62,7 +62,7 @@ EOF
|
||||
PHP_VERSION=$(lxc exec "$container" -- dpkg -l php-fpm | grep "^ii" | cut -d ':' -f2 | cut -d '+' -f1)
|
||||
APP_PORT=$port APP_NAME=$longname PHP_VERSION=$PHP_VERSION tera -e -t "$MIAOU_BASEDIR/templates/apps/dolibarr/host.j2" -o "$MIAOU_CONFIGDIR/apps/dolibarr/$shortname/host.conf" "$MIAOU_CONFIGDIR/miaou.expanded.yaml" >/dev/null
|
||||
|
||||
echo "copying configuration files onto container <$container>... "
|
||||
echo "copying configuration files to container <$container>... "
|
||||
lxc file push --uid 0 --gid 0 "$MIAOU_CONFIGDIR/apps/dolibarr/$shortname/host.conf" "$container/etc/nginx/sites-available/$longname.conf"
|
||||
echo "copying files over container <$container> ... OK"
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ function install() {
|
||||
echowarn "initializing ..."
|
||||
launch_container "$CONTAINER"
|
||||
build_device_backup
|
||||
echowarn "executing various commands onto container <$CONTAINER>, please be patient ..."
|
||||
echowarn "executing various commands inside container <$CONTAINER>, please be patient ..."
|
||||
lxc exec "$CONTAINER" -- bash <<EOF
|
||||
set -Eeuo pipefail
|
||||
cloud-init status --wait >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user