Drizzt-DoUrden
Contributor
Contributor

Lemme share with everyone the steps I went through to do this so there's no confusion because I JUST had to do it.

 

1. You can use ANY machine that has the App Volumes Agent installed on it for this. Go into C:\Program Files (x86)\CloudVolumes\Agent. In there you will see an executable called AppCapture.exe. Copy this file to a location that you can get to from ANY virtual machine like a network share or something.

2. Log on to a VM that DOES NOT have the App Volumes Agent on it. Go into the settings of the VM in vCenter by right clicking the VM and clicking "Edit Settings". Click ADD NEW DEVICE at the top and select "Existing Hard Disk". Here you will need to know what Datastore your appvolumes templates are in. To do that go to your App Volumes manager and click Configuration then click Storage and it will show you the default storage location of the appvolumes/packages_templates. Go to that location in the VM you're editing the settings in. Make sure you go to the YOURDATASTORE/appvolumes/packages_templates location and not the YOURDATASTORE/appvolumes/packages location. Mount the "template.vmdk" to the machine. Click ok, then click ok again.

3. Go back into the machine you mounted the VMDK to and go into Disk Management (right click the start menu and you can get to it there) and find the new mounted volume. Right click it and click "Change drive letter and paths..." and give it a drive letter (whatever you want, doesn't matter). Once you do that the drive will show up. Now remember that executable you saved? Grab that and copy it to the desktop of the VM that you're on and then copy it to that drive. Once in there shut the machine down and remove that disk in vCenter. DO NOT and I repeat DO NOT click the check box to delete it from disk when you remove it or you will be screwed. Once you're all done with this you should be able to package an app again. 

4. ???

5. Profit

 

I hope this helps out anyone in the future. VMware is completely overwhelmed right now with tickets because of the pandemic so it's up to us to help each other out.

Reply
0 Kudos