2/11/2023 0 Comments How to ssh from mac to virtualbox![]() If ! VBoxManage showvminfo devstack-odl | grep 8080 > /dev/null # that host can access OpenStack Horizon in browser # Forward TCP port 8080 on host to TCP port 80 on guest VM so VBoxManage modifyvm devstack-odl -natpf1 "SSH,TCP,3022,22" If ! VBoxManage showvminfo devstack-odl | grep 3022 > /dev/null # Forward TCP port 3022 on host to TCP port 22 on guest VM so It will forward the required TCP ports from the host (Mac laptop) to the guest (CentOS-7 VM) and will also create eth1 as an internal network adapter. Run the following bash script to configure VirtualBox. In VirtualBox, the CentOS-7-x86_64-Minimal-1511.iso image is used to boot a CentOS-7 VM with 4 GB RAM and the following two network adapters. VirtualBox is installed on Mac laptop and the CentOS-7 VM is created in VirtualBox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |