raspiblitz/alternative.platforms/amd64/packer/scripts/init_vagrant.sh
2020-10-26 21:18:44 +01:00

21 lines
No EOL
662 B
Bash

#!/bin/bash
echo "************* Vagrant Provisioning ********************"
echo 'Syncing local code with RaspiBlitzVM'
# make sure the lastest sync script is in place
cp /vagrant/home.admin/XXsyncScripts.sh /home/admin/XXsyncScripts.sh
# execute 'patch' command to sync laptop with VM
/home/admin/XXsyncScripts.sh -run
source <(/home/admin/config.scripts/internet.sh status)
echo
echo "************* NEXT ********************"
echo "vagrant ssh --> ssh into your RaspiBlitzVM"
echo "ssh admin@${localip} --> ssh into with password A"
echo "vagrant provision --> trigger code sync from outside VM"
echo "patch --> trigger code sync from inside the VM"
echo