def __init__(self): self.suffix = misc.dmimodel() if self.suffix: self.suffix = '-%s' % self.suffix else: if misc.execute("laptop-detect"): self.suffix = '-laptop' else: self.suffix = '-desktop' self.allow_password_empty = False
def __init__(self): self.suffix = misc.dmimodel() if self.suffix: self.suffix = '-%s' % self.suffix else: if misc.execute("laptop-detect"): self.suffix = '-laptop' else: self.suffix = '-desktop' self.allow_password_empty = False self.hostname_error_text = "" self.domain_connection_error_text = ""