Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Add transition to setup if creating new VM.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
  • Loading branch information
jmorganca committed Oct 22, 2015
1 parent 5d67f1f commit 591ec5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/SetupUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default {
setupServerActions.started({started: true});
let exists = await virtualBox.vmExists(machine.name()) && fs.existsSync(path.join(util.home(), '.docker', 'machine', 'machines', machine.name()));
if (!exists) {
router.get().transitionTo('setup');
setupServerActions.started({started: true});
this.simulateProgress(60);
try {
Expand Down

0 comments on commit 591ec5c

Please sign in to comment.