Bootstrap-Repo in uyuni

Hebler, Jan, Vodafone DE Jan.Hebler at vodafone.com
Sat Mar 13 06:52:51 UTC 2021


Hi

If someone want to install the Beta with uyuni and misses them in the mgr-create-bootstrap-repo Options, here are the way to go:

  1.  Login to your uyuni-server an locate the bootstrap-descriptions (/usr/share/susemanager/mgr_bootstrap_data.py) and copy them to another file (/usr/share/susemanager/betatest.py)
  2.  Open the betatest.py, search for an line like SLE-15-SP2-x86_64 (around Line 1100)
  3.  Insert the following:
    'SLE-15-SP3-x86_64' : {
        'PDID' : [2145, 1712], 'BETAPDID' : [1928], 'PKGLIST' : PKGLIST15_TRAD + PKGLIST15_SALT + PKGLIST15_X86_ARM,
        'DEST' : '/srv/www/htdocs/pub/repositories/sle/15/3/bootstrap/'
    },

Important are the numbers in PDID and BETAPDID, they are the product_id's from the table suseproducts in Postgres. After that, you could call

mgr-create-bootstrap-repo --with-custom-channels --datamodule=betatest

And you shold see something like SLE-15-SP3-x86_64 in the List of products.


Keep hacking,

Jan


C2 General
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/sle-beta/attachments/20210313/081c50b4/attachment.htm>


More information about the sle-beta mailing list