Dave Hatton wrote: > This patch adds a free format option --os_version= to a cobbler distro. > > This produces a variable $os_version that can be used in cobbler > snippets. > > This would be useful in scripts that work with different OS versions > > eg > > #if $os_version == "rhel5.1" > do some stuff > #end if > > Hope this is helpful. > > Dave Hatton > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler
Can you make "cobbler import" auto assign this? It should be detected during the part that figures out which kickstart can use. If you add that, I'll apply it. Also, for consistency, the command line option should be --os-version, though "os_version" is the proper syntax for the field name. Thanks! --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
