VMware Cloud Community
OsburnM
Hot Shot
Hot Shot

Auto Deploy Script Bundle for HPE SUT Configuration

Greetings all--

Having an issue with an autodeploy script bundle and could use some help.

We have HPE Synergy Blades and are wanting to install ESXi using Stateful AutoDeploy to get 'em into the VC/Cluster where vLCM can control it from there.  The problem I'm running into is the HPE SUT utility by default isn't configured for AutoDeploy and so I'm trying to use an AutoDeploy script bundle to execute the oneliner that changes SUT to AutoDeploy.

I created a simple script called "adpsut.sh" and it looks like this:

#!/bin/ash
sut -set mode=AutoDeploy

...

I then created the tar file:

tar -cvzf adpsut.tgz adpsut.sh

Then added it to the AutoDeploy via the vCenter Client UI and attached it to the deploy rule.

Booted the host, but while I can see the script get copied down to the host and extracted, I don't see it actually running. 

I can run the adpsut.sh file manually and it works.  It just doesnt seem to be executing during the AutoDeploy pxe boot.

Any ideas?

Thanks,

0 Kudos
1 Reply
berndweyand
Expert
Expert

i also use script bundles with auto deploy and i can see no errors in your doing.

maybe it helps when using the full path to sut ?

0 Kudos