exit setup after early create

This commit is contained in:
Jeffrey Morgan 2015-04-19 21:29:36 -04:00
parent 64aa7fc13f
commit 24b61c2684
1 changed files with 2 additions and 0 deletions

View File

@ -67,9 +67,11 @@ var _steps = [{
var exists = yield machine.exists();
if (!exists) {
yield machine.create();
return;
} else if ((yield machine.state()) === 'Error') {
yield machine.rm();
yield machine.create();
return;
}
var isoversion = machine.isoversion();