if you want to copy a file from host to vm, you can use a file provision https://www.vagrantup.com/docs/provisioning/file.html
On Fri, May 31, 2019 at 3:18 PM Zeus_Dev <[email protected]> wrote: > Hello everyone :) > > Im having a vagrantfile with a ubuntu (ubuntu/xenial64) and installing PHP > 7.3 on the VM in my provision.sh, everything is installed successfully. > > But now the problem is that there are some warnings in my PHPMyAdmin : > Warning in ./libraries/plugin_interface.lib.php#532 > # count(): Parameter must be an array or an object that implements > Countable > > > I fixed that on the file ( > /usr/share/phpmyadmin/libraries/plugin_interface.lib.php), and another > file updated so I can allow much more size to import my SQL DB in my ( > /etc/php/7.3/apache2/php.ini) > > And it's working perfectly, but all those actions are done in my Vm > Machine. > > So I want to know is there any way to copy paste those two files I updated > them, from my host machine to the VM everytime I typed the *vagrant up* > > Here is my provision.sh : https://pastebin.com/RQDwHGsn > Here is my vagrantfile : https://pastebin.com/tBjbb889 > > Thank you > > -- > 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/1d6445ce-7184-4fa7-8f7b-1bbed0c3e988%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/1d6445ce-7184-4fa7-8f7b-1bbed0c3e988%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0ey8%3DY5e2-DEFXwotSGRcP-ThYDK-JR%2ByNQbaqzLE%3Da7KA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
