Convert yumgroup to ldif
Convert a yum group in a ldif.
Example for the "core" yum group :
Conversion of fai2ldap:
dn: cn=CENTOS,ou=packages,ou=6,ou=centos,ou=fai,ou=configs,ou=systems,dc=mcmic,dc=test cn: CENTOS objectClass: top objectClass: FAIclass objectClass: FAIpackageList FAIinstallMethod: yumgroup FAIpackage: core
It not work yet because we don't have a yumgroup method in FD and it is a meta package that not exist in the yum repo
The best is to create a ldif from the entry in FAI (/usr/share/doc/fai-doc/examples/simple/package_config/CENTOS)
PACKAGES yumgroup core
Howto find the package list:
yum groupinfo core > packagesList.txt
look the packagesList.txt
Create a class with the packages look at centos-core-mandatory.ldif
The best is to have a ldif for "mandatory", "default" and "optional" section.
(from redmine: issue id 3662, created on 2015-03-26, closed on 2015-04-20)
- Changesets:
- Revision 176f33f6 by Côme Chilliet on 2015-03-26T16:16:27.000Z:
Fixes #3662 Added yumgroup2yumi
- Revision 4638f058 by Côme Chilliet on 2015-03-30T07:38:27.000Z:
Fixes #3662 -o option fixed for yumgroup2yumi