Commit 094a074a9548752ffea5171c52c53c9e8cac08ea
1 parent
436d745d
Exists in
r5_design
and in
1 other branch
centos6-vagrant-lxc: don't try to remove unexisting base container
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
utils/centos6-vagrant-lxc/Makefile
@@ -46,7 +46,7 @@ fullclean: clean | @@ -46,7 +46,7 @@ fullclean: clean | ||
46 | $(RM) .$(BOX)-base | 46 | $(RM) .$(BOX)-base |
47 | $(RM) lxc.conf | 47 | $(RM) lxc.conf |
48 | $(RM) metadata.json | 48 | $(RM) metadata.json |
49 | - sudo lxc-destroy -n $(BOX)-base | 49 | + if sudo lxc-ls | grep $(BOX)-base; then sudo lxc-destroy -n $(BOX)-base; fi |
50 | 50 | ||
51 | retry: clean uninstall all install | 51 | retry: clean uninstall all install |
52 | vagrant up | 52 | vagrant up |