|
|
@ -69,7 +69,7 @@ function dm() {
|
|
|
|
CREATE=false
|
|
|
|
CREATE=false
|
|
|
|
read -e -p "a machine named \"${TARGET}\" doesn't exist (yes to create): " CREATE
|
|
|
|
read -e -p "a machine named \"${TARGET}\" doesn't exist (yes to create): " CREATE
|
|
|
|
if [[ $CREATE == "yes" ]]; then
|
|
|
|
if [[ $CREATE == "yes" ]]; then
|
|
|
|
docker-machine create $TARGET
|
|
|
|
docker-machine create --driver="virtualbox" $TARGET
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "exiting"
|
|
|
|
echo "exiting"
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|