mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 17:07:18 +01:00
21 lines
No EOL
710 B
Bash
21 lines
No EOL
710 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/config.scripts/blitz.github.sh /home/admin/config.scripts/blitz.github.sh
|
|
|
|
# execute 'patch' command to sync laptop with VM
|
|
/home/admin/config.scripts/blitz.github.sh -run
|
|
|
|
source <(/home/admin/config.scripts/internet.sh status local)
|
|
|
|
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 |