Skip to content

Commit

Permalink
Do not do substitution when installing upgrade script (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
javitonino authored Jan 30, 2024
1 parent dc5c6b0 commit 68db638
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions scripts/install-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $SUDO mkdir /var/lib/nucliadb
$SUDO chown nucliadb:nucliadb /var/lib/nucliadb

# Install upgrade script
cat << EOF | $SUDO tee /usr/bin/upgrade-nucliadb > /dev/null
cat << 'EOF' | $SUDO tee /usr/bin/upgrade-nucliadb > /dev/null
#!/bin/bash
#
# The purpose of this script is to be used to upgrade NucliaDB to the latest
Expand Down Expand Up @@ -121,13 +121,3 @@ $SUDO systemctl start nucliadb
EOF

$SUDO chmod +x /usr/bin/upgrade-nucliadb

# Install config
cat << EOF | $SUDO tee /etc/default/nucliadb > /dev/null
LOG_OUTPUT_TYPE=STDOUT
DRIVER=pg
DRIVER_PG_URL=
NUA_API_KEY=
EOF

0 comments on commit 68db638

Please sign in to comment.