Urgent.News

What's breaking now, across thousands of outlets.

Tech

VMware Appliance OVF Properties update through CLI

This article is to update VMware appliance ovf properties through command line. Sometimes we cannot access VC and only can access VMs through ESX UI. Check over properties exists in VM login to VM as root and execute ovfenv command root@vcf91-installer [ ~ ]# ovfenv [vm.vmname]=VCF-SDDC-Manager-Appliance-9.1.0.0300.25536191 [ROOT_PASSWORD]= [LOCAL_USER_PASSWORD]=…

This article explains how to update VMware appliance OVF properties using the command line when access to the Virtual Center is not possible, but VMs can be accessed through the ESX UI. To begin, log in to the VM as root. Execute the ovfenv command with the specific OVF properties to be changed. For instance, to modify the NTP server details, navigate to the VM scripts folder containing the firstboot and subsequent boot scripts.

Use the command 'cd /opt/vmware/vcf/commonsvcs/scripts/' to change to the correct directory. Within this folder, there are several scripts, including 'update-ntp_server.sh', 'setup-ntp.sh', and 'refresh-ntp.sh'. To change the NTP server, execute the 'update-ntp_server.sh' script. After making the necessary changes, reboot the VM to apply the updates.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Monday 24 August →