#echo 'Restarting Services' #services. #license.cfg /etc/vmware/license.cfg # restart services echo 'Restarting VPXA' # get a new trial license echo 'Copying new license' cp /etc/vmware/. Vim-cmd vmsvc/power.shutdown " $vmid" echo 'Waiting for VM to power off.' i = 30 while do if then printf "bb $i" else printf "bb $i" fi sleep 1 i = ` expr $i - 1 ` done state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) x = ` expr $x + 1 ` done if then # remove license echo 'Removing License' rm -r /etc/vmware/license.cfg VMware vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability and performance. Wireshark 3.0.6.0 installation UltraVNC 1.2.3.1 installation. Download VMware vSphere Hypervisor (ESXi) Select Version: 6.0 Virtualize even the most resource-intensive applications with peace of mind. #!/bin/sh # This script shuts down the UPS-Agent and resets the license echo 'Getting VMID of UPS-Agent' vmid = $(vim-cmd vmsvc/getallvms | grep ups-agent | awk '' ) echo 'VMID is' $vmid echo 'Getting UPS-Agent Power state' state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) echo 'VM is currently' $state x = 1 while ] do echo 'Powering off.' Download Vmware Workstation Player (free).
0 Comments
Leave a Reply. |