Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. VBoxManage createvm --name "testvm" --register
  2. VBoxManage modifyvm "testvm" --memory 1024 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0 --ostype Ubuntu_64
  3. VBoxManage modifyvm "testvm" --boot1 dvd --nic1 bridged --bridgeadapter1 eno1 --nictype1 82540EM --cableconnected1=on
  4. VBoxManage createvdi --filename ~/VirtualBox\ VMs/testvm/testvm-disk01.vdi --size 10000
  5. VBoxManage storagectl "testvm" --name "IDE Controller" --add ide
  6. VBoxManage storageattach "testvm" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium ~/VirtualBox\ VMs/testvm/testvm-disk01.vdi
  7. VBoxManage storageattach "testvm" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium vm/lubuntu-16.10-desktop-amd64.iso
  8. VBoxHeadless --startvm "testvm" &
  9.  
  10. sudo nmap 192.168.0.0/24
  11. ################# #produces the following output ###################
  12. Nmap scan report for 192.168.0.110
  13. Host is up (0.00036s latency).
  14. All 1000 scanned ports on 192.168.0.110 are closed
  15. MAC Address: 08:00:27:C9:CE:9C (Oracle VirtualBox virtual NIC)
  16. ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement