Good evening,
I've managed to build my Debian VM on our lab ESX server, but once the OS is installed, the VM rebooted and the 3 post-install scripts (defined in the "provisionners" template) executed and succesfull, the VM unregisters itself and disappears from the ESX server. Why is that ? How can I keep it there ?
I'm not running the vSphere post-processor (..yet), especially as it needs the ovftool (why ?) and it stumbles because it needs a cluster name and I don't run an ESX cluster, it's in our lab. Any way to avoid post-processors ?
Here's the packer build output (end of it, that is).
==> vmware-iso: Provisioning with shell script: scripts/users.sh
vmware-iso: Adding group `[groupName]' (GID 1000) ...
vmware-iso: Done.
==> vmware-iso: Provisioning with shell script: scripts/cleanup.sh
vmware-iso: sleeping 20 seconds before shutdown
==> vmware-iso: Forcibly halting virtual machine...
vmware-iso: Waiting for VMware to clean up after itself...
==> vmware-iso: Deleting unnecessary VMware files...
vmware-iso: Deleting: /vmfs/volumes/[DATASTORE]/[SOME_PATH]/[SOME_OTHER_PATH]/vmware.log
==> vmware-iso: Cleaning VMX prior to finishing up...
vmware-iso: Unmounting floppy from VMX...
vmware-iso: Detaching ISO from CD-ROM device...
==> vmware-iso: Compacting the disk image
==> vmware-iso: Unregistering virtual machine...
Build 'vmware-iso' finished.
==> Builds finished. The artifacts of successful builds are:
--> vmware-iso: VM files in directory: /vmfs/volumes//[DATASTORE]/[SOME_PATH]/output-vmware-iso
The JSON file is good, so is the preseed, as the install completes properly. I'm stuck right now..
--Jeff