Copy paste files from Host to VM

24 views
Skip to first unread message

Zeus_Dev

unread,
May 31, 2019, 9:18:37 AM5/31/19
to Vagrant
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

Alvaro Miranda Aguilera

unread,
Jun 2, 2019, 6:18:15 PM6/2/19
to vagra...@googlegroups.com
if you want to copy a file from host to vm, you can use a file provision


--
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1d6445ce-7184-4fa7-8f7b-1bbed0c3e988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages