uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
434 stars 181 forks source link

Create a command line wizard to create the setup_env.sh file [RHEL8] #2885

Closed sbluhm closed 4 weeks ago

sbluhm commented 3 years ago

Additional Information

For the installation and migration of Uyuni, a setup_env.sh file with configuration options is required. Currently, this file is created by a wizard using yast2. To remove the dependency to yast2, a simple standalone wizard should be created as alternative. This will allow non-SUSE distributions.

Current installation Process:

yast2 --> /usr/lib/susemanager/bin/mgr-setup --> spacewalk-setup

Suggested Installation Process:

< new wizard > --> /usr/lib/susemanager/bin/mgr-setup --> spacewalk-setup

Alternative Installation Process:

/usr/lib/susemanager/bin/mgr-setup --> ( no "/root/setup_env.sh" ? run < new wizard > ) --> spacewalk-setup

Version of Uyuni Server

Uyuni-Server-release: 2020.11 and master.

Details about issue

Current yast2 wizard takes the wizard from the folder/files: susemanager/yast/susemanager_*.rb and writes the output to /root/setup_env.sh

Attached are some text copies of (some of) the screens. setupscript.txt

Additional requirements

On LEAP systems, a message is displayed on the hardware console before login informing about the installation status. This message should be updated/made compliant for this new wizard. (See #4402 )

sbluhm commented 2 years ago

mgr-setup already asks for all the required missing variables. So technically, this issue can be closed.

Can I add the following enhancements in mgr-setup when setup_env.sh is not available?

sbluhm commented 4 weeks ago

Closing as not required anymore.