Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- # Hortonworks Sandbox related
- export HDP_SANDBOX_VMNAME="Hortonworks Sandbox with HDP 2.4"
- export HDP_SANDBOX_SSHPORT=2222
- export HDP_SANDBOX_USERNAME=flipkart
- function hdp-play-vm() {
- VBoxManage startvm --type headless "$HDP_SANDBOX_VMNAME"
- }
- function hdp-pause-vm() {
- VBoxManage controlvm "$HDP_SANDBOX_VMNAME" savestate
- }
- function hdp-ssh() {
- ssh -p $HDP_SANDBOX_SSHPORT $HDP_SANDBOX_USERNAME@localhost
- }
- function hdp-scp() {
- scp -P $HDP_SANDBOX_SSHPORT "$1" $HDP_SANDBOX_USERNAME@localhost:"$2"
- }
- ...
Add Comment
Please, Sign In to add comment