Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 926fcdf

Browse files
committed
Merge pull request #9 from squaresurf/docker-machine-refactor
Enhance naming. Fixes #8
2 parents 86ef004 + ec1c083 commit 926fcdf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker-machine-nfs.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ configureNFS()
146146
echoSuccess "\t\t\t\t\t\tOK"
147147
}
148148

149-
# @info: Configures the Boot2Docker to mount nfs
149+
# @info: Configures the VirtualBox Docker Machine (i.e. boot2docker) to mount nfs
150150
configureBoot2Docker()
151151
{
152-
echoInfo "Configure Boot2Docker ... \t\t"
152+
echoInfo "Configure Docker Machine ... \t\t"
153153

154154
if isPropertyNotSet $prop_machine_name; then echoError "'prop_machine_name' not set!"; exit 1; fi
155155
if isPropertyNotSet $prop_machine_vboxnet_ip; then echoError "'prop_machine_vboxnet_ip' not set!"; exit 1; fi
156156

157-
# render bootlocal.sh and copy bootlocal.sh over to boot2docker
157+
# render bootlocal.sh and copy bootlocal.sh over to Docker Machine
158158
# (this will override an existing /var/lib/boot2docker/bootlocal.sh)
159159

160160
local bootlocalsh='#!/bin/sh
@@ -167,10 +167,10 @@ configureBoot2Docker()
167167
echoSuccess "OK"
168168
}
169169

170-
# @info: Restarts Boot2Docker
171-
restartBoot2Docker()
170+
# @info: Restarts Docker Machine
171+
restartDockerMachine()
172172
{
173-
echoInfo "Restart Boot2Docker ... \t\t"
173+
echoInfo "Restart Docker Machine ... \t\t"
174174

175175
if isPropertyNotSet $prop_machine_name; then echoError "'prop_machine_name' not set!"; exit 1; fi
176176

@@ -240,7 +240,7 @@ echo #EMPTY LINE
240240
configureNFS
241241

242242
configureBoot2Docker
243-
restartBoot2Docker
243+
restartDockerMachine
244244

245245
verifyNFSMount
246246

0 commit comments

Comments
 (0)