I have a centos vm and I was wondering if there is a way to turn that vm into headless mode.
I found this information on different site
If you want to run a headless VM under VMPlayer simply add the following to your vmware preferences file ($HOME/.vmware/preferences):
pref.vmplayer.exit.vmAction = "disconnect"
but I couldn't find the $HOME/.vmware/preferences directory.
You can start a VM in headless mode by using vmrun with the nogui flag:
vmrun start <PATH TO VM> nogui
Similarly, to later suspend machine:
vmrun suspend <PATH TO VM>
To see a list of running VMs:
vmrun list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With