'Constructor. Requires a Cobbler API handle.'

def __init__(self, hostname):

    self.hostname = hostname
    self.handle = capi.CobblerAPI()
    self.system = self.handle.find_system(hostname=self.hostname)
    self.host_vars = self.get_cobbler_resource('autoinstall_meta')
    self.logger = clogger.Logger('/var/log/cobbler/cobbler.log')
    self.mgmtclasses = self.get_cobbler_resource('mgmt_classes')
