Esempio n. 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()
Esempio n. 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()
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 7
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

        self.errors = []
Esempio n. 8
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()
 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()
Esempio n. 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
Esempio n. 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()
Esempio n. 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()
Esempio n. 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)
Esempio n. 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 ""
Esempio n. 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)
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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