Hi Jordan,

You may look at the `template_spool_ref` table in the `cloud` database.

btw: why not register the new template  ?

-Wei

On Mon, 26 Sept 2022 at 11:02, jordan j <yordan...@gmail.com> wrote:

> Hey everyone,
>
> Looking for automated way to deploy VHD image as a template i have done
> this:
> - create a dummy template from VM
> - change the dummy template VHD on the NFS with the VHD image i have
> prepared
>
> So far so good but as VMs are created, the template VHD is cached on the
> hypervisor.
>
> Now if the template VHD on the NFS is changed again and a new VM is
> launched on a hypervisor that has the image cached, the new VM will not be
> created from the updated VHD disk.
>
> I tried to delete the cached image on the hypervisor manually but ACS does
> not like that and instead of downloading the new image error about a
> missing vhd file is presented.
>
> Is there any way to make cloudstack intentionally refresh the hypervisor
> image cache?
>
> Regards,
> Jordan
>

Reply via email to