Verified Commit c9b33db6 authored by Adrian Schollmeyer's avatar Adrian Schollmeyer
Browse files

generator/host: Respect host_class for VM hosts

parent 5e3c11b6
......@@ -247,6 +247,9 @@ def create_icinga2_host_object_from_netbox(netbox, device_name):
if device.device_role.slug == "vm-host":
host.host_class = "vm-host"
for ip4 in non_uplink_ip4s:
for ip6 in non_uplink_ip6s:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment