# Provisioned photon-custom-hw13-2.0-304b817.ova # Logged-in and changed default password # https://github.com/vmware/photon/wiki/Frequently-Asked-Questions#q-migrate-existing-rpm-repository-to-packagesvmwarecom cd /etc/yum.repos.d sed -i 's/dl.bintray.com\/vmware/packages.vmware.com\/photon\/$releasever/g' photon.repo photon-updates.repo photon-extras.repo photon-debuginfo.repo # configure static ip address cd /etc/systemd/network cp 99-dhcp-en.network 10-static-en.network cat << EOF1 > 10-static-en.network [Match] Name=eth0 [Network] Address=192.168.0.100 Gateway=192.168.0.1 IPv6AcceptRA=no EOF1 chmod 644 10-static-en.network systemctl restart systemd-networkd rm 99-dhcp-en.network # configure nameserver cd /etc cat << EOF2 > resolv.conf nameserver 8.8.8.8 EOF2 systemctl restart systemd-resolved # update os tdnf update -y # ping + netmgr tdnf install -y iputils tdnf install -y netmgmt