Here is my vagrant folder :

-myVagrantProject
  |
  | -vagrantfile
  | -provision.sh
  | -*php.ini*
  | - *plugin_interace.lib.php* 
  | -myDB.sql

And this is what I want to try in my provision.sh : 

sudo cp php.ini /etc/php/7.3/apache2 
sudo cp plugin_interface.lib.php /usr/share/phpmyadmin/libraries/




Le vendredi 31 mai 2019 17:17:21 UTC+2, Dennis Chang a écrit :
>
> Vagrant normally shares the current folder inside the VM as /vagrant.
>
> So you can use that to have a file available inside your VM.
>
> Then, in a provision.sh step, just perform the change.
>
> In Linux/Unix there are a lot of commands available for you to perform 
> changes to text files.
> Some come to mind, sed, awk. Or if it's just copying then cp.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/d220708d-725c-4706-866c-fbe130c7e69a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to