This commit is contained in:
Raymond Kuiper 2025-02-12 12:32:42 +01:00
parent c7d3dab27c
commit 1157ed9e64
2 changed files with 0 additions and 8 deletions

View File

@ -166,10 +166,6 @@ class PhysicalDevice():
return [self.config_context["zabbix"]["templates"]]
return self.config_context["zabbix"]["templates"]
# def set_inventory(self, nbdevice):
# """ Set inventory """
# Inventory.set_inventory(self, nbdevice)
def set_inventory(self, nbdevice):
""" Set host inventory """
# Set inventory mode. Default is disabled (see class init function).

View File

@ -42,10 +42,6 @@ class VirtualMachine(PhysicalDevice):
# Generate hostgroup based on hostgroup format
self.hostgroup = hg.generate(hg_format)
# def set_inventory(self, nbvm):
# """ Set inventory """
# Inventory.set_inventory(self, nbvm)
def set_vm_template(self):
""" Set Template for VMs. Overwrites default class
to skip a lookup of custom fields."""