diff options
-rw-r--r-- | zshrc | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -92,3 +92,34 @@ ausrede() { nc towel.blinkenlights.nl 666 fi } + +vm() { + SLEEP=1 + if [ "$1" = "winxp" ]; then + VBoxManage startvm "Windows XP Pro SP1" -type vrdp + sleep $SLEEP + rdesktop-vrdp -k de localhost + elif [ "$1" = "freebsd" ]; then + VBoxManage startvm "FreeBSD 7.1" -type vrdp + sleep $SLEEP + rdesktop-vrdp -k de localhost + elif [ "$1" = "win2003" ]; then + VBoxManage startvm "Windows Server 2003 Enterprise" -type vrdp + sleep $SLEEP + rdesktop-vrdp -k de localhost + elif [ "$1" = "pdc" ]; then + VBoxManage startvm "Samba PDC mit LDAP" -type vrdp + sleep $SLEEP + rdesktop-vrdp -k de localhost + elif [ "$1" = "sid" ]; then + VBoxManage startvm "Debian Sid" -type vrdp + sleep $SLEEP + rdesktop-vrdp -k de localhost + elif [ "$1" = "" ]; then + echo "winxp" + echo "win2003" + echo "freebsd" + echo "sid" + echo "pdc" + fi +} |