Compare commits
No commits in common. "d35579004fb147a6949708d00f3c78b417d4f924" and "f925b7167354cbaf08fba2bcb04909cad4effec5" have entirely different histories.
d35579004f
...
f925b71673
1 changed files with 1 additions and 6 deletions
|
@ -19,11 +19,6 @@ incus launch images:$IMAGE "$CNAME" --quiet
|
|||
|
||||
wait_network "$CNAME"
|
||||
|
||||
incus exec "$CNAME" -- bash -c 'cat >> /etc/environment << EOL
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
DEBCONF_NONINTERACTIVE_SEEN=true
|
||||
LC_ALL=C
|
||||
EOL'
|
||||
incus exec "$CNAME" -- bash -c 'echo "deb [trusted=yes] https://repo.miniflux.app/apt/ * *" > /etc/apt/sources.list.d/miniflux.list'
|
||||
incus exec "$CNAME" -- apt update
|
||||
incus exec "$CNAME" -- apt upgrade -y
|
||||
|
@ -36,7 +31,7 @@ PG_PASS=$(openssl rand -hex 32)
|
|||
incus file push <(sed "s/SED_PG_PASS/$PG_PASS/" "$WORKSPACE"/miniflux.conf) \
|
||||
"$CNAME"/etc/miniflux.conf
|
||||
set -x
|
||||
incus exec "$CNAME" -- bash -c "sudo -u postgres psql -c \"CREATE USER miniflux WITH PASSWORD '${PG_PASS}';\""
|
||||
incus exec "$CNAME" -- bash -c 'sudo -u postgres psql -c "CREATE USER miniflux WITH PASSWORD '"'"'${PG_PASS}'"'"';"'
|
||||
incus exec "$CNAME" -- bash -c 'sudo -u postgres psql -c "CREATE DATABASE miniflux OWNER miniflux;"'
|
||||
|
||||
incus exec "$CNAME" -- systemctl enable miniflux
|
||||
|
|
Loading…
Add table
Reference in a new issue