mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 19:20:10 +00:00
almost done with nextcloud -- need testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8d9df935b3
commit
a6f5094152
@ -83,7 +83,7 @@ echo "# Updating config..."
|
||||
IP=${DRY_RUN:=$(lxc-attach $ID -- hostname -I)}
|
||||
@ lxc-attach $ID -- bash -c "\
|
||||
sed -z -i \
|
||||
-e \"s/\(trusted_domains[^)]*\)/\1 2 => '${IP/ *}',\n /\" \
|
||||
-e \"s/\\(trusted_domains[^)]*\\)/\\1 2 => '${IP/ *}',\\n /\" \
|
||||
/var/www/nextcloud/config/config.php"
|
||||
|
||||
echo "# Copying assets..."
|
||||
@ -96,7 +96,7 @@ echo "# Disabling fail2ban..."
|
||||
|
||||
echo "# Updating system..."
|
||||
@ lxc-attach $ID apt update
|
||||
@ lxc-attach $ID -- apt upgrade -y
|
||||
@ lxc-attach $ID apt upgrade
|
||||
|
||||
echo "# Post config..."
|
||||
pctSet $ID "${OPTS_STAGE_2}" $REBOOT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user