def __init__(self, name, just_clear=False): """ :param name: name of the addon :type name: str """ if not just_clear: # do not call the parent's __init__ more than once AddonData.__init__(self, name) ## values specifying the content self.content_type = "" self.content_url = "" self.datastream_id = "" self.xccdf_id = "" self.profile_id = "" self.xccdf_path = "" self.cpe_path = "" self.tailoring_path = "" ## additional values self.fingerprint = "" # certificate to verify HTTPS connection or signed data self.certificates = "" ## internal values self.rule_data = rule_handling.RuleData() self.dry_run = False
def __init__(self, name): AddonData.__init__(self, name) self.enabled = False lower, upper, step = getMemoryBounds() self.reserveMB = "%d" % lower self.enablefadump = False
def __init__(self, name, just_clear=False): """ :param name: name of the addon :type name: str """ if not just_clear: # do not call the parent's __init__ more than once AddonData.__init__(self, name) # values specifying the content self.content_type = "" self.content_url = "" self.datastream_id = "" self.xccdf_id = "" self.profile_id = "" self.content_path = "" self.cpe_path = "" self.tailoring_path = "" # additional values self.fingerprint = "" # certificate to verify HTTPS connection or signed data self.certificates = "" # internal values self.rule_data = rule_handling.RuleData() self.dry_run = False
def __init__(self, name): AddonData.__init__(self, name) self.name = name self.content = "" self.header_args = "" self.rhsm_data = KickstartRhsmData() # TODO: make this a data class self.serverurl = None self.activationkeys = [] self.auto_attach = True self.username = None # Unsure if we should support this at all self.password = None self.org = None self.servicelevel = [] self.force = False self.arg_names = {} self.line_handlers = { 'serverurl': self._parse_serverurl, 'activationkey': self._parse_activationkey, 'auto-attach': self._parse_auto_attach, 'username': self._parse_username, 'password': self._parse_password, 'servicelevel': self._parse_servicelevel, 'force': self._parse_force, 'org': self._parse_org }
def __init__(self, name): AddonData.__init__(self, name) self.name = name self.content = "" self.header_args = "" self.rhsm_data = KickstartRhsmData() # TODO: make this a data class self.serverurl = None self.activationkeys = [] self.auto_attach = True self.username = None # Unsure if we should support this at all self.password = None self.org = None self.servicelevel = [] self.force = False self.arg_names = {} self.line_handlers = {'serverurl': self._parse_serverurl, 'activationkey': self._parse_activationkey, 'auto-attach': self._parse_auto_attach, 'username': self._parse_username, 'password': self._parse_password, 'servicelevel': self._parse_servicelevel, 'force': self._parse_force, 'org': self._parse_org}
def __init__(self, name): AddonData.__init__(self, name) #TODO: add a dictionary instead of these variables self.lines = "" self.arguments = "none" self.state = "none" self.env = "anaconda" # Other possible value: firstboot
def __init__(self, name): AddonData.__init__(self, name) self.homer_user = "" self.homer_password = "" self.homer_database_name = "" self.homer_database_host = "" self.homer_webserver_type = ""
def __init__(self, name): AddonData.__init__(self, name) self.enabled = True self.reserveMB = "auto" if getOS() == "fedora": self.enabled = False lower, upper, step = getMemoryBounds() self.reserveMB = "%d" % lower
def __init__(self, name): """ :param name: name of the addon :type name: str """ AddonData.__init__(self, name) self.text = "" self.reverse = False
def __init__(self, name): """ :param str name: Addon name """ log.info("Initializing docker addon") # Called very early in anaconda setup AddonData.__init__(self, name) self.vgname = "docker" self.fstype = "xfs" self.enabled = False self.extra_args = [] self.save_args = False
def __init__(self, name): """ :param name: name of the addon :type name: str """ AddonData.__init__(self, name) self.text = "" self.reverse = False self.postscripts = None self.haverolls = None self.clientInstall = RocksEnv.RocksEnv().clientInstall
def __init__(self, name): """ :param str name: Addon name """ log.info("Initializing docker addon") # Called very early in anaconda setup AddonData.__init__(self, name) # This is set to one of the storage classes in handle_header self.storage = None self.vgname = None self.fstype = "xfs" self.enabled = False self.extra_args = [] self.save_args = False
def __init__(self, name): AddonData.__init__(self, name) self.software = { "wireshark": { "Desc": "Network traffic analyzer", "Active": False, }, "nmap": { "Desc": "Network exploration tool and security scanner", "Active": False, }, "gimp": { "Desc": "GNU Image Manipulation Program", "Active": False, }, "Linux ISO": { "Desc": "linus och hans iso", "Active": False, }, }
def __init__(self, name): AddonData.__init__(self, name) self.yubikey = False self.passphrase = ""
def __init__(self, name): AddonData.__init__(self, name) self.enabled = True self.reserveMB = "auto"