Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Add -k
Browse files Browse the repository at this point in the history
[#151653701]

Signed-off-by: Slawek Ligus <[email protected]>
  • Loading branch information
christianang authored and Slawek Ligus committed Oct 4, 2017
1 parent d7897be commit 0aec8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy-opsman-vm/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ EOF
govc vm.change -c=2 -k=true -vm=${OPSMAN_NAME}
#
# echo "Shutting down OLD OpsMgr VM... ${OPSMAN_IP}"
opsman_path="$(govc find ${GOVC_RESOURCE_POOL} -type m -guest.ipAddress ${OPSMAN_IP} -runtime.powerState poweredOn)"
opsman_path="$(govc find -k=true ${GOVC_RESOURCE_POOL} -type m -guest.ipAddress ${OPSMAN_IP} -runtime.powerState poweredOn)"
govc vm.power -off=true -k=true -vm.ipath=${opsman_path}
#
# echo "Starting OpsMgr VM... /${GOVC_DATACENTER}/${OPSMAN_VM_FOLDER}/${OPSMAN_NAME}"
Expand Down

0 comments on commit 0aec8f0

Please sign in to comment.