based on https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainUndefineFlagsValues
when we are undefineinf a domain for any other reason then delete i think we should be passing
VIR_DOMAIN_UNDEFINE_KEEP_NVRAM and VIR_DOMAIN_UNDEFINE_KEEP_TPM
even in the rebuild case i belive this is correct
its only for nova delete that we should remove them
based on https:/ /libvirt. org/html/ libvirt- libvirt- domain. html#virDomainU ndefineFlagsVal ues
when we are undefineinf a domain for any other reason then delete i think we should be passing
VIR_DOMAIN_ UNDEFINE_ KEEP_NVRAM and VIR_DOMAIN_ UNDEFINE_ KEEP_TPM
even in the rebuild case i belive this is correct
its only for nova delete that we should remove them