VMware Cloud Community
vsth
Contributor
Contributor
Jump to solution

Howto add custom properties to redhat linux vm after "Clone, Linux with single NIC"

Hello,

How we can add custom properties to a new linux vm after clone from template with the vco workflow?

Something like "/bin/echo x.x.x.x > /etc/newfile", execute this with sysprep or something else (not ssh) inside the new linux vm with a vco workflow.


Has anybody a idea about this ?

Thomas

0 Kudos
1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

If you can't get it through sysprep, you could use the VIX plugin for vCO to execute a command within the guest OS after it as deployed and powered up.

http://labs.vmware.com/flings/vix-vco 

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
4 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

If you can't get it through sysprep, you could use the VIX plugin for vCO to execute a command within the guest OS after it as deployed and powered up.

http://labs.vmware.com/flings/vix-vco 

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
vsth
Contributor
Contributor
Jump to solution

Hello Burke,

Thank you for this link! It's exactly what we need.

We are currently running on version 4.0 and as soon we are running on 4.1 we have a solution.

Thomas

0 Kudos
tschoergez
Leadership
Leadership
Jump to solution

Hi!

A couple of weeks ago I created an example based on a question here in the forums using this VIX-plugin. Its written for Windows VMs, but you may adopt some things for your Linux-guests.

You can find the example on

http://www.vcoportal.de/Downloads.html#Zweig3

Regards,

Joerg

PS.: I'm currently working on a redesign of my homepage, so the link is "subject to change", but I hope not to forget to update the reference here afterwards 🙂

0 Kudos
vsth
Contributor
Contributor
Jump to solution

With the new vCO Version 5.1 there is no vix plugin anymore. We found that this feature is now buildin with vCO.

Entry point for this new API is here:

http://pubs.vmware.com/vsphere-51/topic/com.vmware.wssdk.apiref.doc/vim.vm.guest.GuestOperationsMana...

Thomas

0 Kudos