Learn R Programming

vmr (version 0.0.6)

vmrMountDir: Mount a host directory to guest

Description

Mount a host directory to the guest machine.

Usage

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

Value

a vmr object

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.

Examples

Run this code
if (FALSE) {
boxes <- vmrList()
vmr <- vmrCreate(boxes$Name[1])
vmr <- vmrMountDir(vmr, src = getwd(), dest = "/vmr")
vmr <- vmrInitEnv(vmr)
vmrStart()
}

Run the code above in your browser using DataLab