ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- class SoftwareInstallImpl.SoftwareInstallImpl(system, config)¶
Define an abstract class that provides a common interface for all user-directed software installations. Subclasses of this class will handle actual interaction with specific installers.
Parameters:
system: a <no title> object which lets us control the remote system
config: a <no title> object defining the current user
- exit(save=False)¶
Exit
Parameters:
save: not used, just accepted to maintain a common signature
- start_install()¶
Open an instance of software installation (installing the software as well)
- SoftwareInstallImpl.get_software_install(system, config, install_type=None)¶
This is a Factory function which will instantiate the correct SoftwareInstallImpl subclass given the configuration parameters.
Parameters:
system: a <no title> object which lets us control the remote system
config: a <no title> object defining the current user
install_type: optionally a type of installer to get, ignoring the config value