Update vm.sh
Browse files
vm.sh
CHANGED
|
@@ -38,8 +38,6 @@ VBoxManage storagectl "$VM_NAME" --name "IDE Controller" --add ide
|
|
| 38 |
VBoxManage storageattach "$VM_NAME" --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium "$ISO_FILENAME"
|
| 39 |
|
| 40 |
# Set up NAT Network with port forwarding
|
| 41 |
-
VBoxManage modifyvm "$VM_NAME" --natpf1 "guestssh,tcp,,2222,,22"
|
| 42 |
-
|
| 43 |
# Start the VM
|
| 44 |
VBoxManage startvm "$VM_NAME" --type headless
|
| 45 |
|
|
|
|
| 38 |
VBoxManage storageattach "$VM_NAME" --storagectl "IDE Controller" --port 0 --device 0 --type dvddrive --medium "$ISO_FILENAME"
|
| 39 |
|
| 40 |
# Set up NAT Network with port forwarding
|
|
|
|
|
|
|
| 41 |
# Start the VM
|
| 42 |
VBoxManage startvm "$VM_NAME" --type headless
|
| 43 |
|