[uyuni-devel] Installation routine
Hello all, I would like to slowly get started in porting Uyuni to RHEL 8 based environments but I am pretty far from SUSE routines. Can you please pinpoint me to the right git file location to find the installation routine? I am still a bit lost in the SUSE/zypper ways of life. I don't mean the instruction manual but the actual script that executes the installation. Thank you and best wishes, Stefan -- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
On 25/08/2020 14.59, Stefan Bluhm wrote:
Can you please pinpoint me to the right git file location to find the installation routine? I am still a bit lost in the SUSE/zypper ways of life. I don't mean the instruction manual but the actual script that executes the installation.
First of all, you need to install all packages that are part of the "patterns-uyuni_server" pattern. Any porting initiative's 99% of complexity is about repackaging - or anyway adapting packages - for a given distro. Once you have them installed, on SUSE systems you will typically run the YaST installer "wizard" - but the same can be achieved with a couple of scripts, namely: - setting some environment variables, as per https://github.com/uyuni-project/sumaform/blob/master/salt/server/setup_env.... - calling /usr/lib/susemanager/bin/migration.sh That's the bare minimum. If you are fluent with Salt states, that is captured in: https://github.com/uyuni-project/sumaform/blob/master/salt/server/init.sls and related files. HTH, good luck! Regards, -- Silvio Moioli SUSE Manager Development Team -- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
Hi Am Mittwoch, 26. August 2020, 09:14:29 CEST schrieb Silvio Moioli:
On 25/08/2020 14.59, Stefan Bluhm wrote:
Can you please pinpoint me to the right git file location to find the installation routine? I am still a bit lost in the SUSE/zypper ways of life. I don't mean the instruction manual but the actual script that executes the installation.
First of all, you need to install all packages that are part of the "patterns-uyuni_server" pattern.
Any porting initiative's 99% of complexity is about repackaging - or anyway adapting packages - for a given distro.
Once you have them installed, on SUSE systems you will typically run the YaST installer "wizard" - but the same can be achieved with a couple of scripts, namely: - setting some environment variables, as per https://github.com/uyuni-project/sumaform/blob/master/salt/server/setup_env.... - calling /usr/lib/susemanager/bin/migration.sh
We managed it to rename this script to "/usr/lib/susemanager/bin/mgr-setup". migration.sh is an old name and we only have a symlink for compatibility reasons. All the "work" is done in this script. The YaST module is only a nice UI to collect all the data and write them in setup_env.sh which is used as input for the script.
That's the bare minimum. If you are fluent with Salt states, that is captured in:
https://github.com/uyuni-project/sumaform/blob/master/salt/server/init.sls
and related files.
HTH, good luck!
-- Regards Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@suse.com -------------------------------------------------------------------------- SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer (HRB 36809, AG Nürnberg) -- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
participants (3)
-
Michael Calmer
-
Silvio Moioli
-
Stefan Bluhm