Skip to content

Commit 6ab9df7

Browse files
committed
Use sudo when invoking dshell/dsh command.
1 parent ca72140 commit 6ab9df7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/vagrant/util/_post_chef_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ ! -h /usr/local/bin/dsh ]; then
1414
fi
1515

1616
echo_bold "Updating Django site object from 'example.com' to 'deis-controller'..."
17-
cat <<EOF | dsh deis-database
17+
cat <<EOF | sudo dsh deis-database
1818
su postgres
1919
psql deis -c " \
2020
UPDATE django_site \

0 commit comments

Comments
 (0)