Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

#303: Added ability for playbook argument. #308

Merged
merged 1 commit into from
Aug 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion provisioning/beetbox.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash -eu

# Set default environment variables.
BEET_PLAYBOOK=${1:-provision}
BEET_HOME=${BEET_HOME:-"/beetbox"}
BEET_BASE=${BEET_BASE:-"/var/beetbox"}
BEET_USER=${BEET_USER:-"vagrant"}
Expand Down Expand Up @@ -83,7 +84,7 @@ beetbox_play config
beetbox_play update

# Provision VM.
beetbox_play provision
beetbox_play $BEET_PLAYBOOK

# Print welcome message.
sudo touch $BEET_HOME/.beetbox/welcome.txt
Expand Down