Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
vcd 201 B
#!/bin/bash

REL_PATH=$(pwd)

cd "${VVV_INSTANCE_DIR}" || exit 1

VAGRANT_PATH=${REL_PATH/$VVV_INSTANCE_DIR/\/srv}

CMD="cd ${VAGRANT_PATH}; bash"
printf "%s\n\n" "$CMD"

vagrant ssh -c "${CMD}; echo"