Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 57b6811

Browse files
author
Alexander Paliarush
committed
Merge remote-tracking branch 'remotes/origin/ubuntu-centos-common-develop' into develop
2 parents 3728957 + 2385396 commit 57b6811

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Vagrantfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ Vagrant.configure(VAGRANT_API_VERSION) do |config|
7575
end
7676

7777
if !use_nfs_for_synced_folders
78-
config.vm.provision "deploy_magento_code", type: "file", source: host_magento_dir, destination: '/var/www'
78+
config.vm.provision "host_compress_magento_code", type: "host_shell", inline: "tar cfh scripts/host/magento2ce.tar magento2ce"
79+
config.vm.provision "guest_uncompress_magento_code", type: "shell", inline: "mkdir -p /var/www && tar xf /vagrant/scripts/host/magento2ce.tar -C /var/www &>/dev/null"
80+
config.vm.provision "guest_remove_compressed_code", type: "shell", inline: "rm -f /vagrant/scripts/host/magento2ce.tar"
7981
end
8082

8183
config.vm.provision "install_magento", type: "shell" do |s|

scripts/host/.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/composer.phar
1+
/composer.phar
2+
/magento2ce.tar

0 commit comments

Comments
 (0)