r/vmware • • 4d ago

Controlling multiple VMs at once?

I'm doing some software testing, so I have VMWare fusion with six virtual machines running at once, macOS El Capitan through macOS Big Sur. Now that they're all set up, I'm going to be doing a lot of work in the terminal, installing and uninstalling packages. And its generally going to be the exact same stuff over and over.

It would be SUCH a time saver if there was a hack I could turn on that would met my keystrokes go to ALL virtual machines at the same time. Then I could turn this "feature" right back off and use each one individually. Then turn it on again, uninstall all the software on all 6 at once, reinstall new software, turn the feature off, and repeat. Over and over.

Google suggests theres no way to do this but I figured might as well ask as the source just in case there is a way.

3 Upvotes

9 comments sorted by

17

u/jameskilbynet 4d ago

Sounds like a job for ansible.

2

u/aaron416 4d ago

I second this.

1

u/lusid1 3d ago

This is the way

5

u/cr0ft 4d ago

Enable SSH on the machines and SSH in to them with something like ClusterSSH.

3

u/lost_signal VMware Employee 4d ago

SALT?

1

u/field-of-view-360 4d ago

Are you testing the uninstall procedure? If not, use snapshots to instantly get each VM to a “nothing installed” state.

1

u/Lopsided-Club-8131 2d ago

Ansible or runinguest VMware tools scripts

-1

u/chandleya 4d ago

Why are you testing software on long unsupported operating systems?

The org tasking someone that doesn’t know anything about automation with the job of supporting the unsupported kind of paints a picture