本文整理汇总了Python中pyanaconda.installclass.BaseInstallClass类的典型用法代码示例。如果您正苦于以下问题:Python BaseInstallClass类的具体用法?Python BaseInstallClass怎么用?Python BaseInstallClass使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了BaseInstallClass类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: setDefaultPartitioning
def setDefaultPartitioning(self, storage):
BaseInstallClass.setDefaultPartitioning(self,
storage)
for autoreq in storage.autoPartitionRequests:
if autoreq.mountpoint == "/":
autoreq.maxSize=None
autoreq.requiredSpace=24*1024
if autoreq.mountpoint == "/home":
storage.autoPartitionRequests.remove(autoreq)
示例2: setGroupSelection
def setGroupSelection(self, anaconda):
BaseInstallClass.setGroupSelection(self, anaconda)
map(lambda x: anaconda.backend.selectGroup(x), ["core"])
示例3: configure
def configure(self, anaconda):
BaseInstallClass.configure(self, anaconda)
BaseInstallClass.setDefaultPartitioning(self,
anaconda.storage,
anaconda.platform)
示例4: __init__
def __init__(self):
BaseInstallClass.__init__(self)
示例5: configure
def configure(self, anaconda):
BaseInstallClass.configure(self, anaconda)
示例6: setSteps
def setSteps(self, anaconda):
BaseInstallClass.setSteps(self, anaconda)
anaconda.dispatch.skipStep("partition")
示例7: configure
def configure(self, anaconda):
BaseInstallClass.configure(self, anaconda)
self.setDefaultPartitioning(anaconda.storage)
示例8: setGroupSelection
def setGroupSelection(self, anaconda):
BaseInstallClass.setGroupSelection(self, anaconda)