Quickly configure PhotonOS virtual machines with static IPs

Sometimes, we all need a large group of small virtual machines for our tests in vSphere. I tried in the past several linux distributions that claim to be small and easy to be deployed, but they usually failed in one of the two aspects, and it’s usually the ease of deployment. They are all fine if there’s a DHCP server around, but setting up a static IP configuration has always been a problem: mouse drivers in graphical mode are horrible, there’s little to no documentation about which distribution they are based on (in order to find out which commands and configuration files should be used), in summary, a living hell.
So, I decided to spend an afternoon doing some research and tests, and I came out with “my own” preferred procedure, based on VMware PhotonOS. It may be good for you too, or maybe not, depending on your own needs. I documented all the steps I’ve done, so that I (and you) can follow them start to end in order to obtain a working tiny VM with a static IP address.

Some notes from VMworld 2015

I’ve waited a week after VMworld ended in San Francisco before writing this post: there were too many blog posts from every blogger trying to cover any new announcement like a newspaper, and with the addition of news collected directly from the Expo Floor, sessions I’ve attended and other sources, the amount of info to digest required a bit of time. This post is not a recap of the event, just the things that I’ve seen and I found interesting. If something is not here, it may be that I’ve missed it rather than don’t liking it.