Uyuni as simple Repository Server?
Hi, I have several systems (SLES + opensuse) that have no access to the public internet but to our Uyuni system. Unfortunately we're not allowed to install a client software on these systems, so a regular system integration by Uyuni is not possible. On the other hand it is possible to edit the client's repository configuration ( /etc/zypp/repos.d/ manually. With a standard webserver that is regularly mirrored to a public repository this is no problem, but if I look at our typical salt clients I find baseurls like baseurl=https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd... Using these URL in a webbrowser returns 4xx - errors. Is there any way to provide the respective clients a standard path like http://download.opensuse.org/distribution/leap/15.2/repo/oss/ to the Uyuni server? Or is there any other way to provide Uyuni's repositories to these "clients" without installing special software at the client side? TIA! -- Gruss, Tobias Crefeld. xmpp (no email): crefeld@xabber.de
Hi, You can register your servers via Salt SSH so you won't need to install any agent or software on the servers https://www.uyuni-project.org/uyuni-docs/uyuni/client-configuration/contact-... Thanks, On Fri, 2021-05-14 at 14:51 +0200, Tobias Crefeld wrote: Hi, I have several systems (SLES + opensuse) that have no access to the public internet but to our Uyuni system. Unfortunately we're not allowed to install a client software on these systems, so a regular system integration by Uyuni is not possible. On the other hand it is possible to edit the client's repository configuration ( /etc/zypp/repos.d/ manually. With a standard webserver that is regularly mirrored to a public repository this is no problem, but if I look at our typical salt clients I find baseurls like baseurl= https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd... https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd... Using these URL in a webbrowser returns 4xx - errors. Is there any way to provide the respective clients a standard path like http://download.opensuse.org/distribution/leap/15.2/repo/oss/ http://download.opensuse.org/distribution/leap/15.2/repo/oss/ to the Uyuni server? Or is there any other way to provide Uyuni's repositories to these "clients" without installing special software at the client side? TIA! -- [cid:efd73fb850d9c60ffd333f17893bae3b98e73128.camel@suse.com] Isidro Hortelano Premium Support Engineer SUSE +34 616956221 www.suse.comhttp://www.suse.com LinkedIn https://www.linkedin.com/company/suse | Twitter https://twitter.com/SUSE | YouTubehttps://www.youtube.com/channel/UCHTfqIzPKz4f_dri36lAQGA
Hi Tobias. The repo is not reaching by this exact URL, but the path to repodata usually appended to get the exact files. For example likg this: https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd...https://host.domain.tld/rhn/manager/download/sle-module-legacy15-sp1-updates... Note the changes with the URL you provided. But the case you are describing is more like you need to detokenize the repos. It could be done with setting `java.salt_check_download_tokens = false` to /etc/rhn/rhn.conf With this setting you can get an access to repo with no token checking like https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd...https://host.domain.tld/rhn/manager/download/sle-module-legacy15-sp1-updates... Regards, Victor On Fri, 2021-05-14 at 14:51 +0200, Tobias Crefeld wrote: Hi, I have several systems (SLES + opensuse) that have no access to the public internet but to our Uyuni system. Unfortunately we're not allowed to install a client software on these systems, so a regular system integration by Uyuni is not possible. On the other hand it is possible to edit the client's repository configuration ( /etc/zypp/repos.d/ manually. With a standard webserver that is regularly mirrored to a public repository this is no problem, but if I look at our typical salt clients I find baseurls like baseurl=https://HOST.DOMAIN.TLD:443/rhn/manager/download/sle-module-legacy15-sp1-upd... Using these URL in a webbrowser returns 4xx - errors. Is there any way to provide the respective clients a standard path like http://download.opensuse.org/distribution/leap/15.2/repo/oss/ to the Uyuni server? Or is there any other way to provide Uyuni's repositories to these "clients" without installing special software at the client side? TIA!
participants (3)
-
Isidro Hortelano
-
Tobias Crefeld
-
Victor Zhestkov