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

Commit

Permalink
Fix minor errors on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Aug 11, 2015
1 parent 74a1fde commit a7e7a07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions windows/Toolbox.iss
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ begin
begin
WizardForm.StatusLabel.Caption := 'Migrating Boot2Docker VM...'
WizardForm.FilenameLabel.Caption := 'This will take a minute...'
ExecAsOriginalUser(ExpandConstant('{app}\docker-machine.exe'), ExpandConstant('rm -f default > nul 2>&1'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
DelTree(ExpandConstant('{userdocs}\..\.docker\machine\machines\default'), True, True, True);
ExecAsOriginalUser(ExpandConstant('{app}\migrate.bat'), ExpandConstant('> {localappdata}\Temp\toolbox-migration-logs.txt 2>&1'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
if ResultCode = 0 then
Expand Down
1 change: 1 addition & 0 deletions windows/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ set -e

if [ $VM_EXISTS_CODE -ne 0 ]; then
echo "Creating Machine $VM..."
$DOCKER_MACHINE rm -f $VM &> /dev/null || :
rm -rf ~/.docker/machine/machines/$VM
$DOCKER_MACHINE create -d virtualbox --virtualbox-memory 2048 $VM
else
Expand Down

0 comments on commit a7e7a07

Please sign in to comment.