Commit 094a074a9548752ffea5171c52c53c9e8cac08ea

Authored by Antonio Terceiro
1 parent 436d745d

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 46 $(RM) .$(BOX)-base
47 47 $(RM) lxc.conf
48 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 51 retry: clean uninstall all install
52 52 vagrant up
... ...