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

Commit

Permalink
Merge branch 'master' of github.com:docker/toolbox
Browse files Browse the repository at this point in the history
Conflicts:
	windows/start.sh
  • Loading branch information
jmorganca committed Aug 12, 2015
2 parents 05ca1fc + 4f90253 commit 13a8ca2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion osx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN curl -fsSL -o /boot2docker.iso https://github.com/boot2docker/boot2docker/re
ENV KITEMATIC_VERSION 0.8.1
RUN curl -fsSL -o /kitematic.zip https://github.com/kitematic/kitematic/releases/download/v$KITEMATIC_VERSION/Kitematic-$KITEMATIC_VERSION-Mac.zip

ENV INSTALLER_VERSION 1.8.0a
ENV INSTALLER_VERSION 1.8.0b

ENV MIXPANEL_TOKEN c306ae65c33d7d09fe3e546f36493a6e

Expand Down
4 changes: 2 additions & 2 deletions osx/mpkg/Distribution
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
{
test = system.version['ProductVersion'];
system.log("OS version detected: " + test);
result = (system.compareVersions(test, '10.6') >= 0);
result = (system.compareVersions(test, '10.9') >= 0);
} catch (e) { system.log(e); result = false; }
if (!result)
Expand All @@ -131,7 +131,7 @@
line checking for running VMs instead. */
if (vboxNeedsUpgrade()) {
system.log(vboxplist.CFBundleVersion);
rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC" | /usr/bin/grep -qv grep');
rcScript = system.run('/bin/sh', '-c', '/bin/ps -e | /usr/bin/grep -E "VirtualBox|VirtualBox.*startvm|VBoxNetDHCP|VBoxNetNAT|VBoxHeadless|VBoxSVC" | /usr/bin/grep -qv grep');
result = (rcScript != 0);
system.log("system.run /bin/sh .. returned: " + rcScript + " result=" + result);
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ fi
$VBOXMANAGE showvminfo $VM &> /dev/null
VM_EXISTS_CODE=$?

if [ $VM_EXISTS_CODE -ne 0 ]; then
if [ $VM_EXISTS_CODE -eq 1 ]; 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
$DOCKER_MACHINE -D create -d virtualbox --virtualbox-memory 2048 $VM
else
echo "Machine $VM already exists."
echo "Machine $VM already exists in VirtualBox."
fi

echo "Starting machine $VM..."
Expand Down
2 changes: 1 addition & 1 deletion windows/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo "Starting machine $VM..."
$DOCKER_MACHINE start $VM

echo "Setting environment variables for machine $VM..."
eval "$($DOCKER_MACHINE env $VM 2>/dev/null)"
eval "$($DOCKER_MACHINE env $VM)"

clear
cat << EOF
Expand Down

0 comments on commit 13a8ca2

Please sign in to comment.