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