vmrMountDir {vmr}R Documentation

Mount a host directory to guest

Description

Mount a host directory to the guest machine.

Usage

vmrMountDir(vmr, src = "", dest = "")

Arguments

vmr

a vmr object

src

a host directory

dest

a destination guest directory

Details

If the option of mounting a directory is available in the guest provider, it will mount src to destination directory. Calling with no arguments will disable this option.

Value

a vmr object

Examples

## Not run: 
boxes <- vmrList()
vmr <- vmrCreate(boxes$Name[1])
vmr <- vmrMountDir(vmr, src = getwd(), dest = "/vmr")
vmr <- vmrInitEnv(vmr)
vmrStart()

## End(Not run)

[Package vmr version 0.0.6 Index]