• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Cloning PhotonOS and getting the same ip-address when running DHCP?

Duncan Epping · Mar 20, 2020 ·

I just cloned PhotonOS a few times for running “Folding at Home” in our lab, and I noticed every VM was getting the same IP address every time. It appears that this is caused by the fact that when you clone the VM they all have the same machine identifier. You can get around this by running the following command within the PhotonOS console:

echo -n > /etc/machine-id

I hope that helps those planning on running PhotonOS at home, lab, or in production as well.

Related

Server photonOS

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

May 24th – VMUG Poland
Aug 21st – VMware Explore
Sept – VMUG Slovenia (virtual)
Oct – VMUG Sweden
Nov 6th – VMware Explore
Nov 23rd – UK VMUG
Dec 7th – Swiss German VMUG

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in