Whay does getvar("distro", "") show inconsistent value ?

Solution Verified - Updated -

Issue

  • The getvar("distro", "") will for example return:-

"ksrhelx8664server5u4"

Instead of "ks-rhel-x86_64-server-5-u4", which removes  " - " & "_" signs from the name.

  • Cobbler distro files under /var/lib/cobbler/config/distros.d on satellite server are not properly created , they are listed as bellow

    ksrhelx8664server5u5 
    ksrhelx8664server5u5xen 
    

Environment

  • Red Hat Network (RHN) Satellite 5.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content