Skip to content

Commit

Permalink
Clone self for Vagrant and Packer
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Jan 16, 2025
1 parent 013acde commit dc4d52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ ! -d "$SCRIPT_DIR/.git" ]; then
echo 'Running in Packer or Vagrant'
(git clone https://github.com/playingfield/controller.git || /bin/true)
fi
cd controller && source ansible.sh && ./prepare.sh
cd "$SCRIPT_DIR" && source ansible.sh && ./prepare.sh
# export these variables!
if [ -z "${DB_PASS}" ]; then
export DB_PASS="your_database_password"
Expand Down

0 comments on commit dc4d52e

Please sign in to comment.