1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00

Add transition to setup if creating new VM.

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan
2015-10-22 14:25:09 -07:00
parent 5d67f1f0a3
commit 591ec5cbcd

View File

@@ -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 {