vagrantfile - Vagrant Package Include Files are missing -


I did not know how to include files from packaged violet box.

Package

  $ Hobby package --include mydirectory / --output mypackage.box   

Then the box is added

  >  

    

$ Haw init myPackageWithFiles $ Vaara

But when I do SSH in the newly created Vengrate box, "My directory /"

I do not see it on my local machine I:

  $ ls ~ / .vagrant.d / box / myPackageWithFiles / 0 / virtualbox / includes / mydi Rectory /   

How do I get this directory in my trash box? Do I have to add something in Vagrantfile?

"itemprop =" lesson ">

after adding the following to your Vagrant file, just before end Line:

  config.vm.synced_folder "~ / .vagrant.d / box / myPackageWithFiles / 0 / virtualbox / includes / mydirectory /" "~ / Mydirectory"   

The first parameter is local and the second is a remote path to the folder.


In addition to this there is a lot of other parameters, which you can read.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -