virtualbox: windows share support

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2015-04-10 16:11:27 -04:00
parent 10afd2da8a
commit 60be4c292c
1 changed files with 4 additions and 1 deletions

View File

@ -330,10 +330,13 @@ func (d *Driver) Create() error {
var shareName, shareDir string // TODO configurable at some point
switch runtime.GOOS {
case "windows":
shareName = "c/Users"
shareDir = "c:\\Users"
case "darwin":
shareName = "Users"
shareDir = "/Users"
// TODO "linux" and "windows"
// TODO "linux"
}
if shareDir != "" {