raspiblitz/alternative.platforms/amd64/packer/scripts/init_vagrant.sh

18 lines
548 B
Bash
Raw Normal View History

#!/bin/bash
2020-10-14 01:31:27 +02:00
echo "************* Vagrant Provisioning ********************"
2020-10-14 01:31:27 +02:00
echo 'Syncing local code with RaspiBlitzVM'
2020-10-14 01:31:27 +02:00
# make sure the lastest sync script is in place
cp /vagrant/home.admin/XXsyncScripts.sh /home/admin/XXsyncScripts.sh
2020-10-14 01:31:27 +02:00
# execute 'patch' command to sync laptop with VM
/home/admin/XXsyncScripts.sh -run
2020-10-14 01:31:27 +02:00
echo
echo "************* NEXT ********************"
echo "vagrant ssh --> ssh into your RaspiBlitzVM"
echo "vagrant provision --> trigger code sync from outside VM"
echo "patch --> trigger code sync from inside the VM"
echo