virtual machine - How to mount a directory in virtualbox with Salt-Stack? -


While currently trying to provision a VirtualBox with salt, there is a salt state to mount the directories though I do not know what equipment should be in the state.

State currently looks like this:

  Directory: file.directory: - User: ... - ... mount.mounted: - Devices: & lt; SomedevicenamewhichIcantgetright & gt; - fstype: auto  

Whatever I try, is not found somedevicenamewhichIcantgetright , and I have seen it in documents but I can not find anything about it .

Do anyone know what it should look like? I have tried the user name @ machine: / path / to / directory and file: // path / from / directory (though it should be on virtualbox only; Take a shot on the pack).

Are you trying to mount a directory from the host in your vm with the virtualbox? If so, you can do that in your widget file:

config.vm.synced_folder "salt / salt /", "/ srv / salt"


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -