vmrMountDir: Mount a host directory to guest

View source: R/vmr-methods.R

vmrMountDirR 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)

vmr documentation built on March 31, 2023, 8:31 p.m.