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

21 lines
662 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
source <(/home/admin/config.scripts/internet.sh status)
2020-10-14 01:31:27 +02:00
echo
echo "************* NEXT ********************"
echo "vagrant ssh --> ssh into your RaspiBlitzVM"
echo "ssh admin@${localip} --> ssh into with password A"
2020-10-14 01:31:27 +02:00
echo "vagrant provision --> trigger code sync from outside VM"
echo "patch --> trigger code sync from inside the VM"
echo