VMware Cloud Community
iceman76
Enthusiast
Enthusiast

Change default Stop-Action of vApp

Hello,

is it possible to  change the default stop-action of a vm from "Power off" to "Shutdown" within a vApp ? In 99.9 % of the vapps we (or our customers) have to do this manually. that is a little bit annoying. It could be done with AMQP & vCenter Orchestrator, but maybe there is some configuration parameter i am not seeing ?

Thanks in advance

0 Kudos
1 Reply
cfor
Expert
Expert

We have to this via the API currently.

We use some custom non-AMQP code to handle this right now - but it could be done in a more general form using the AMQP bus, and on events like instantiate - you could trigger and go change these settings for the user.  I might suggest doing something like adding a system level meta data tag to the vapp (or vm's) that you have done this update so in the future if the content owner wants to change the setting your script could keep from fighting with them.

ChrisF (VCP4, VCP5, VCP-Cloud) - If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos