Advertisement
quark_zju

vbox_useful_commands.sh

Jan 29th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. # Attach an ISO image to CDROM
  2. isofile=
  3. VBoxManage storageattach xp --storagectl "IDE" --port 1 --device 0 --type dvddrive --medium $isofile
  4.  
  5. # Use custom user:password in VRDP
  6. username=
  7. passowrd=
  8. VBoxManage modifyvm vm --vrdeauthtype external
  9. VBoxManage setextradata vm "VBoxAuthSimple/users/$username" `VBoxManage internalcommands passwordhash "$password" | sed 's/.*: //'`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement