Permalink
Browse files

No re-adding the base box

  • Loading branch information...
1 parent 8a01b68 commit 91f7f19043c385ad93455a462a58d7cac950e050 @cal committed Apr 21, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/test.sh
View
@@ -1,6 +1,8 @@
#!/bin/bash
-vagrant box add ubuntu-precise-64 ../package.box
-vagrant init ubuntu-precise-64
+if ! vagrant box list | grep ubuntu-precise-64 >/dev/null; then
+ vagrant box add ubuntu-precise-64 ../package.box
+fi
+
vagrant up
vagrant ssh

0 comments on commit 91f7f19

Please sign in to comment.