casterln
Contributor
Contributor

vmrun

Author :

URL : http:////docs.vmware.com/en/VMware-Workstation-Pro/15.0/com.vmware.ws.using.doc/GUID-7369457F-FE1D-4...

Topic Name : vmware Command Options

Publication Name : Using VMware Workstation Pro

Product/Version : VMware Workstation Pro/15.0

Question :

start vm at boot

0 Kudos
2 Replies
casterln
Contributor
Contributor

I would like to have an instance start at boot time on RHEL 7.

I have a line in /etc/rc.local

vmrun -T ws start /path/to/vm.vmx nogui

This worked in previous version of vmware workstation pro.   Lately, I've had to run the above by hand after the system is up.

Has anyone set up systemd scripts to start a vmware instance at boot?

   Thanks.   _Gary

0 Kudos
wila
Leadership
Leadership

Hi,

You might have your reasons to use vmrun, but have you considered using the built-in alternative?
Eg. "Shared virtual machines".

That's VMware Workstation's supported method for starting VMs when the host boots.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos