update: enhance Vagrant setup with new scripts for node and workstation installation, and update provisioning to target specific VMs
This commit is contained in:
parent
5f448d7fc7
commit
aa912d55df
6 changed files with 79 additions and 23 deletions
14
scripts/install_vagrant_workstation.sh
Executable file
14
scripts/install_vagrant_workstation.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/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 workstation
|
||||
Loading…
Add table
Add a link
Reference in a new issue