VMware Cloud Community
spride
Enthusiast
Enthusiast

ESXi 6.5: Ubuntu 18.04 not customizing

Has anyone been able to get customization working for Ubuntu 18.04 guests?  I've seen very scant information on it when searching the internet.  If I clone using Pyvmomi or even manually using a customization spec, the VM does not customize.  My toolsDeployPkg.log shows the same output as toolsDeployPkg.log · GitHub (which isn't very helpful):

## Starting deploy pkg operation

Deploying /tmp/vmware-root/79d8159c/imcf-rRF3m6

Initializing deployment module.

Cleaning old state file from tmp directory.

EXIT STATE INPROGRESS

Setting deploy error: Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory)

EXIT STATE Done

Setting deploy error: Error removing lock /tmp/.vmware-deploy.Done (No such file or directory)

EXIT STATE ERRORED

Setting deploy error: Error removing lock /tmp/.vmware-deploy.ERRORED (No such file or directory)

Setting deploy error: Success.

Deploying cabinet file /tmp/vmware-root/79d8159c/imcf-rRF3m6.

Transitioning from state (null) to state INPROGRESS.

ENTER STATE INPROGRESS

Reading cabinet file /tmp/vmware-root/79d8159c/imcf-rRF3m6.

Flags in the header: 0

Original deployment command: /usr/bin/perl -I/tmp/.vmware/linux/deploy/scripts /tmp/.vmware/linux/deploy/scripts/Customize.pl /tmp/.vmware/linux/deploy/cust.cfg

Actual deployment command: /usr/bin/perl -I/tmp/.vmware-imgcust-d8E6527/scripts /tmp/.vmware-imgcust-d8E6527/scripts/Customize.pl /tmp/.vmware-imgcust-d8E6527/cust.cfg

Extracting package files.

Check if cust.cfg exists.

cust.cfg is found in '/tmp/.vmware-imgcust-d8E6527' directory.

Command to exec : /usr/bin/cloud-init

sizeof ProcessInternal is 56

Returning, pending output from stdout

Returning, pending output from stderr

Saving output from stdout

Process exited normally after 1 seconds, returned 0

No more output from stdout

No more output from stderr

Customization command output: /usr/bin/cloud-init 18.1

cloud-init is installed

Checking if cloud.cfg exists and if cloud-init is enabled.

Executing traditional GOSC workflow

Command to exec : /usr/bin/perl

sizeof ProcessInternal is 56

Returning, pending output from stdout

Returning, pending output from stderr

Process exited normally after 0 seconds, returned 2

No more output from stdout

Saving output from stderr

No more output from stderr

Customization command output:

Customization process returned with error.

Deployment result = 2

Setting unknown error status in vmx.

Transitioning from state INPROGRESS to state ERRORED.

ENTER STATE ERRORED

EXIT STATE INPROGRESS

Setting deploy error: Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory)

Setting deploy error: Error deleting old state INPROGRESS.(Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory))

Setting deploy error: Deployment failed. The forked off process returned error code.

Deployment failed. The forked off process returned error code.

Launching cleanup.

Command to exec : /bin/rm

sizeof ProcessInternal is 56

Returning, pending output from stdout

Returning, pending output from stderr

Process exited normally after 0 seconds, returned 0

No more output from stdout

No more output from stderr

Customization command output:

sSkipReboot: false, forceSkipReboot false

Deploy error: Deployment failed. The forked off process returned error code.

Package deploy failed in DeployPkg_DeployPackageFromFile

## Closing log

Reply
0 Kudos
0 Replies