How to set the IP address on Photon OS

By default, the Photon OS comes with 2 pre configured network configuration files.

  1. eth0.network
  2. dhcp-en.network

First of all, list down the network interfaces with the command networkctl

Then, based on your network configuration you may select the relavent configuration file (Static IP – eth.network | DHCP – dhcp-en.network). You may have to access the network configuration related directory.

/etc/systemd/network

Edit the Network configuration appropriately

vi /etc/systemd/network/XXXXX.network

The changed configuration will look like this below

Save and restart the networking services

systemctl restart systemd-networkd

 

 

How to convert OVA to OVF

You need to install OVF Tool as the very first step. https://techpartnerhub.vmware.com/development-tools/ovf/

Then, you may access the following path using Command Prompt.

  • C:\Program Files (x86)\VMware\VMware OVF Tool\ [Windows x86]
  • C:\Program Files\VMware\VMware OVF Tool\ [Windows x64]

ovftool.exe path_to_ova_file.ova path_to_ovf_file.ovf

Likwise, you can do the conversion back and forth

ovftool.exe path_to_ovf_file.ovf path_to_ova_file.ova