fix preinstall

This commit is contained in:
Kay0u 2020-12-22 18:46:13 +01:00
parent 4382aae5bd
commit 0e8dc6ab58
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -53,7 +53,7 @@ _INSTALL_APP () {
sed -i "s/\$SUBDOMAIN/$SUBDOMAIN/" "$preinstall_script"
sed -i "s/\$PASSWORD/$YUNO_PWD/" "$preinstall_script"
# Copy the pre-install script into the container.
lxc file push "$preinstall_script" "$LXC_NAME":/preinstall.sh
lxc file push "$preinstall_script" "$LXC_NAME/preinstall.sh"
# Then execute the script to execute the pre-install commands.
LXC_START "bash /preinstall.sh"
fi