本文整理匯總了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)