autocluster: Do not run destroy if generated config does not exist autocluster-1.3
authorMartin Schwenke <martin@meltin.net>
Tue, 8 Oct 2019 04:50:55 +0000 (15:50 +1100)
committerMartin Schwenke <martin@meltin.net>
Tue, 8 Oct 2019 05:39:00 +0000 (16:39 +1100)
commit9ef7072d8eb889fa6fd8d0402eb5f0bea4e606f8
tree4351bb92809e997c12e47509747605577edd110d
parentd88b4a65ae8ca199aa2c5ca4527719c500d35671
autocluster: Do not run destroy if generated config does not exist

When build is run, skip destroy if the file doesn't exist.  This
avoids a failure on the initial run.

Error when destroy is run explicitly, since the error from Vagrant is
very vague.

Signed-off-by: Martin Schwenke <martin@meltin.net>
autocluster.py