update: enhance Vagrant setup with new scripts for node and workstation installation, and update provisioning to target specific VMs

This commit is contained in:
jon brookes 2025-08-16 11:52:28 +01:00
parent 5f448d7fc7
commit aa912d55df
6 changed files with 79 additions and 23 deletions

View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VAGRANT_DIR="$SCRIPT_DIR/../vagrant/dev/ubuntu/"
echo "Script directory: $SCRIPT_DIR"
echo "Vagrant directory: $VAGRANT_DIR"
cd "$VAGRANT_DIR" || {
echo "Failed to change directory to Vagrant directory: $VAGRANT_DIR"
exit 1
}
vagrant up vm1 vm2 vm3
if [ $? -ne 0 ]; then
echo "Failed to start Vagrant VMs. Please check your Vagrant setup."
exit 1
fi