コード例 #1
0
 def __init__(self, data, storage, payload, device):
     NormalTUISpoke.__init__(self, data, storage, payload)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Select an ISO to use as install source")
     self._container = None
     self._device = device
     self._isos = self._collect_iso_files()
コード例 #2
0
 def __init__(self, data, storage, payload, protocol):
     NormalTUISpoke.__init__(self, data, storage, payload)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Specify Repo Options")
     self.protocol = protocol
     self._container = None
     self._url = self._get_url()
コード例 #3
0
 def __init__(self, app, data, storage, payload, instclass, selection,
              errors):
     EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.selection = selection
     self.args = self.data.method
     self.errors = errors
コード例 #4
0
 def __init__(self, data, storage, payload, instclass):
     EditTUISpoke.__init__(self, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Installation source")
     self._container = None
     self._ready = False
     self._error = False
     self._cdrom = None
コード例 #5
0
 def __init__(self, data, storage, payload):
     NormalTUISpoke.__init__(self, data, storage, payload)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Installation source")
     self._container = None
     self._ready = False
     self._error = False
     self._hmc = False
コード例 #6
0
    def __init__(self, data, storage, payload, instclass, protocol):
        NormalTUISpoke.__init__(self, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self.title = N_("Specify Repo Options")
        self.protocol = protocol
        self._container = None

        self._url = self.data.url.url
コード例 #7
0
ファイル: source.py プロジェクト: LiuCan01/anaconda
    def __init__(self, app, data, storage, payload, instclass):
        EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self._ready = False
        self._error = False
        self._cdrom = None

        self.errors = []
コード例 #8
0
ファイル: source.py プロジェクト: LiuCan01/anaconda
 def __init__(self, app, data, storage, payload, instclass, device):
     NormalTUISpoke.__init__(self, app, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.selection = None
     self.args = self.data.method
     self._device = device
     self._mount_device()
     self._isos = self._getISOs()
コード例 #9
0
 def __init__(self, app, data, storage, payload, instclass, device):
     NormalTUISpoke.__init__(self, app, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.selection = None
     self.args = self.data.method
     self._device = device
     self._mount_device()
     self._isos = self._getISOs()
コード例 #10
0
 def __init__(self, data, storage, payload, instclass):
     NormalTUISpoke.__init__(self, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Installation source")
     self._container = None
     self._ready = False
     self._error = False
     self._cdrom = None
     self._hmc = False
コード例 #11
0
 def __init__(self, data, storage, payload, instclass, device):
     NormalTUISpoke.__init__(self, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Select an ISO to use as install source")
     self._container = None
     self.args = self.data.method
     self._device = device
     self._mount_device()
     self._isos = self._getISOs()
コード例 #12
0
 def __init__(self, data, storage, payload, instclass, device):
     NormalTUISpoke.__init__(self, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Select an ISO to use as install source")
     self._container = None
     self.args = self.data.method
     self._device = device
     self._mount_device()
     self._isos = self._getISOs()
コード例 #13
0
    def __init__(self, app, data, storage, payload, instclass, selection, error):
        EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self.selection = selection
        self._error = error

        nfs = self.data.method
        self.args = DataHolder(server="", opts=nfs.opts or "")
        if nfs.method == "nfs" and nfs.server and nfs.dir:
            self.args.server = "%s:%s" % (nfs.server, nfs.dir)
コード例 #14
0
    def __init__(self, data, storage, payload, error):
        NormalTUISpoke.__init__(self, data, storage, payload)
        SourceSwitchHandler.__init__(self)
        self.title = N_("Specify Repo Options")
        self._container = None
        self._error = error

        options, host, path = self._get_nfs()
        self._nfs_opts = options
        self._nfs_server = "{}:{}".format(host, path) if host else ""
コード例 #15
0
    def __init__(self, app, data, storage, payload, instclass, selection, error):
        EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self.selection = selection
        self._error = error

        nfs = self.data.method
        self.args = DataHolder(server="", opts=nfs.opts or "")
        if nfs.method == "nfs" and nfs.server and nfs.dir:
            self.args.server = "%s:%s" % (nfs.server, nfs.dir)
コード例 #16
0
    def __init__(self, data, storage, payload, instclass, error):
        NormalTUISpoke.__init__(self, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self.title = N_("Specify Repo Options")
        self._container = None
        self._error = error

        nfs = self.data.method

        self._nfs_opts = ""
        self._nfs_server = ""

        if nfs.method == "nfs" and (nfs.server and nfs.dir):
            self._nfs_server = "%s:%s" % (nfs.server, nfs.dir)
            self._nfs_opts = nfs.opts
コード例 #17
0
    def __init__(self, data, storage, payload, instclass, error):
        NormalTUISpoke.__init__(self, data, storage, payload, instclass)
        SourceSwitchHandler.__init__(self)
        self.title = N_("Specify Repo Options")
        self._container = None
        self._error = error

        nfs = self.data.method

        self._nfs_opts = ""
        self._nfs_server = ""

        if nfs.method == "nfs" and (nfs.server and nfs.dir):
            self._nfs_server = "%s:%s" % (nfs.server, nfs.dir)
            self._nfs_opts = nfs.opts
コード例 #18
0
 def __init__(self, app, data, storage, payload, instclass, selection):
     EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.selection = selection
     self.args = self.data.method
コード例 #19
0
 def __init__(self, data, storage, payload, instclass, protocol):
     EditTUISpoke.__init__(self, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self.title = N_("Specify Repo Options")
     self.protocol = protocol
     self.args = self.data.method
コード例 #20
0
 def __init__(self, app, data, storage, payload, instclass):
     EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
     SourceSwitchHandler.__init__(self)
     self._ready = False
     self._error = False
     self._cdrom = None