compute resources prevent or disassciate host from VM prevent vm deletion
As discussed on IRC.
Create a solution where by a host in foreman can be deledet without deletion of the actuall virtual host when using compute resources.
Chat log to clarify :
[14:14] <cyberkov> hmm. is it somehow possible to disable the deletion of a VM on the Compute Resource when deleting it from Foreman?
[14:15] <karim> cyberkov, maybe unmanaging it first
[14:15] <Dominic> cyberkov: only be manually disassociating the compute_resource_id and uuid in the hosts table in the DB, you can't through the UI
[14:17] <cyberkov> thanks :) Dominic: so unmanaging it (as karim meant) is not sufficient i guess?
[14:17] <Dominic> I don't think that works, I remember somebody saying reecntly it still deleted the VM..
#3 Updated by Anonymous about 8 years ago
https://github.com/theforeman/foreman/pull/1169/commits would allow for disassociating a vm from a host.