Skip to content

Commit

Permalink
Initialize user configuration with all comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Leavett-Brown committed Oct 2, 2012
1 parent 98f8d67 commit 47ac2e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/vm-run
Expand Up @@ -76,7 +76,8 @@ while [ "$1" != "" ]; do
;;
-C | --configure ) if [ ! -e ~/.cloud_helpers/vm-run.conf ]; then
mkdir -p ~/.cloud_helpers
cp /usr/local/etc/vm-run.conf ~/.cloud_helpers/
echo '# Uncomment (remove the #) any of the following to override the default configuration:' >~/.cloud_helpers/vm-run.conf
sed '/^/ s//# /' /usr/local/etc/vm-run.conf >>~/.cloud_helpers/vm-run.conf
fi
nano ~/.cloud_helpers/vm-run.conf
exit 0
Expand Down

0 comments on commit 47ac2e6

Please sign in to comment.