vagrant: Fix prereqs update when prereqs had been fetched outside of VM

This commit is contained in:
Xavier Antoviaque
2013-07-10 08:11:59 -03:00
committed by David Baumgold
parent 77af84347d
commit a0edbe714b

View File

@@ -61,6 +61,9 @@ chown vagrant.vagrant ~vagrant/.ssh/known_hosts
mkdir -p /opt/edx/node_modules /opt/edx/edx-platform/node_modules
mount -o bind /opt/edx/node_modules /opt/edx/edx-platform/node_modules
# Force rechecking all prerequisites (could have been fetched outside of the VM)
rm -rf /opt/edx/edx-platform/.prereqs_cache
# Permissions
chown vagrant.vagrant /opt/edx /opt/edx/node_modules /opt/edx/edx-platform/node_modules