当前位置: 首页>>代码示例>>Python>>正文


Python base.KickstartCommand类代码示例

本文整理汇总了Python中pykickstart.base.KickstartCommand的典型用法代码示例。如果您正苦于以下问题:Python KickstartCommand类的具体用法?Python KickstartCommand怎么用?Python KickstartCommand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了KickstartCommand类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.repoList = kwargs.get("repoList", [])
        self.exclusive_required_options = [("mirrorlist", "--mirrorlist"),
                                           ("baseurl", "--baseurl")]
开发者ID:atodorov,项目名称:pykickstart,代码行数:7,代码来源:repo.py

示例2: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.biospart = kwargs.get("biospart", None)
        self.partition = kwargs.get("partition", None)
        self.dir = kwargs.get("dir", None)

        self.op = self._getParser()
开发者ID:autotune,项目名称:pykickstart,代码行数:7,代码来源:harddrive.py

示例3: __init__

    def __init__(self, writePriority=120, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.drives = kwargs.get("drives", [])
        self.initAll = kwargs.get("initAll", False)
        self.type = kwargs.get("type", None)
开发者ID:autotune,项目名称:pykickstart,代码行数:7,代码来源:clearpart.py

示例4: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.hsync = kwargs.get("hsync", "")
        self.monitor = kwargs.get("monitor", "")
        self.vsync = kwargs.get("vsync", "")
开发者ID:KevinMGranger,项目名称:pykickstart,代码行数:7,代码来源:monitor.py

示例5: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.type = kwargs.get("type", "")
        self.moduleName = kwargs.get("moduleName", "")
        self.moduleOpts = kwargs.get("moduleOpts", "")
开发者ID:tradej,项目名称:pykickstart-old,代码行数:7,代码来源:device.py

示例6: __init__

    def __init__(self, writePriority=140, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)

        self.snapshotList = kwargs.get("snapshotList", [])
        self.whenMap = { "post-install": SNAPSHOT_WHEN_POST_INSTALL,
                         "pre-install": SNAPSHOT_WHEN_PRE_INSTALL }
        self.op = self._getParser()
开发者ID:dustymabe,项目名称:pykickstart,代码行数:7,代码来源:snapshot.py

示例7: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.enabled = kwargs.get("enabled", None)
        self.ports = kwargs.get("ports", [])
        self.trusts = kwargs.get("trusts", [])
开发者ID:cathywife,项目名称:pykickstart,代码行数:7,代码来源:firewall.py

示例8: __init__

 def __init__(self, writePriority=0, *args, **kwargs):                # pylint: disable=super-init-not-called
     KickstartCommand.__init__(self, writePriority, *args, **kwargs)  # pylint: disable=non-parent-init-called
     self.op = self._getParser()
     self._keyboard = kwargs.get("_keyboard", "")
     self.vc_keymap = kwargs.get("vc_keymap", "")
     self.x_layouts = kwargs.get("x_layouts", [])
     self.switch_options = kwargs.get("switch_options", [])
开发者ID:piyush1911,项目名称:pykickstart,代码行数:7,代码来源:keyboard.py

示例9: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.device = kwargs.get("device", "")
        self.emulthree = kwargs.get("emulthree", False)
        self.mouse = kwargs.get("mouse", "")
开发者ID:jlebon,项目名称:pykickstart,代码行数:7,代码来源:mouse.py

示例10: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.enabled = kwargs.get("enabled", False)
        self.password = kwargs.get("password", "")
        self.connect = kwargs.get("connect", "")
开发者ID:M4rtinK,项目名称:pykickstart,代码行数:7,代码来源:vnc.py

示例11: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.op = self._getParser()

        self.rescue = False
        self.nomount = kwargs.get("nomount", False)
        self.romount = kwargs.get("romount", False)
开发者ID:piyush1911,项目名称:pykickstart,代码行数:7,代码来源:rescue.py

示例12: __init__

 def __init__(self, *args, **kwargs):
     KickstartCommand.__init__(self, *args, **kwargs)
     self.op = self._getParser()
     self.osname = kwargs.get('osname', None)
     self.remote = kwargs.get("remote", self.osname)
     self.url = kwargs.get('url', None)
     self.ref = kwargs.get('ref', None)
     self.nogpg = kwargs.get('nogpg', False)
开发者ID:cathywife,项目名称:pykickstart,代码行数:8,代码来源:ostreesetup.py

示例13: __init__

    def __init__(self, *args, **kwargs):
        KickstartCommand.__init__(self, *args, **kwargs)
        self.checksum = kwargs.get("checksum", "")
        self.noverifyssl = kwargs.get("noverifyssl", None)
        self.proxy = kwargs.get("proxy", None)
        self.url = kwargs.get("url", None)

        self.op = self._getParser()
开发者ID:jlebon,项目名称:pykickstart,代码行数:8,代码来源:liveimg.py

示例14: __init__

    def __init__(self, writePriority=0, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)
        self.bootprotoList = [BOOTPROTO_DHCP, BOOTPROTO_BOOTP,
                              BOOTPROTO_STATIC]

        self.op = self._getParser()

        self.network = kwargs.get("network", [])
开发者ID:atodorov,项目名称:pykickstart,代码行数:8,代码来源:network.py

示例15: __init__

    def __init__(self, writePriority=80, *args, **kwargs):
        KickstartCommand.__init__(self, writePriority, *args, **kwargs)

        self.actionList = kwargs.get("actionList", [])
        self.validActions = [NVDIMM_ACTION_RECONFIGURE, NVDIMM_ACTION_USE]
        self.validModes = [NVDIMM_MODE_SECTOR]

        self.op = self._getParser()
开发者ID:atodorov,项目名称:pykickstart,代码行数:8,代码来源:nvdimm.py


注:本文中的pykickstart.base.KickstartCommand类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。