Skip to content

Instantly share code, notes, and snippets.

View jhuebsch's full-sized avatar

Jason Huebsch jhuebsch

  • University of Oregon
  • Oregon
View GitHub Profile
@jhuebsch
jhuebsch / vm-management.sh
Created November 14, 2012 00:57
Control parallels VM via command line and mount remote users home dir as network share with sshfs
# Parallels VM management
# start/pause/resume Parallels VM. When starting VM mounts VM users home dir (default) as
# network share on local machine using fuse4x and sshfs. When pausing VM, unmounts network
# share before pausing VM.
vmsb() {
# parallels VM you want to controll, find availble names with "prlctl list -a"
VM=""
# connection string for user on $VM ie user@virtualmachine
CONNECT=""
# Aboslute path "pwd -P" of a folder your user owns that can be used as the