Setup: Update digitalocean.json, setup.sh, and cleanup.sh
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
10e2e33a02
commit
87e05222b0
3 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
"type": "shell",
|
||||
"environment_vars": [
|
||||
"DEBIAN_FRONTEND=noninteractive",
|
||||
"UA_LOG_LEVEL=info",
|
||||
"LC_ALL=C",
|
||||
"LANG=en_US.UTF-8",
|
||||
"LC_CTYPE=en_US.UTF-8"
|
||||
|
|
|
@ -14,6 +14,9 @@ if [[ ! -d /tmp ]]; then
|
|||
fi
|
||||
chmod 1777 /tmp
|
||||
|
||||
# Remove DigitalOcean Agent
|
||||
apt-get -y purge droplet-agent
|
||||
|
||||
if [ -n "$(command -v yum)" ]; then
|
||||
yum update -y
|
||||
yum clean all
|
||||
|
|
|
@ -14,6 +14,7 @@ set -eu
|
|||
|
||||
# disable user interactions
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
export UA_LOG_LEVEL="info"
|
||||
export TMPDIR="/tmp"
|
||||
|
||||
# add 4 GB of swap if no swap was configured yet
|
||||
|
|
Loading…
Reference in a new issue