2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

support buildkit for centos mn

This commit is contained in:
root 2016-06-20 03:57:37 -04:00
parent 5942dfdc99
commit e48a9c4599
2 changed files with 4 additions and 1 deletions

View File

@ -1184,6 +1184,9 @@ sub edit_bldkitconf
if ($debianflag){
s/(filename=.*?)\-(.*)\.noarch\.rpm/$1_$2_all.deb/;
}
if ($osbasename =~ /rh/){
s/.*<<<INSERT_compatible_HERE_>>>/ compat_osbasenames=centos/;
}
}
# Write the buildkit.conf back out

View File

@ -107,7 +107,7 @@ kitrepo:
osmajorversion=<<<INSERT_osmajorversion_HERE>>>
osminorversion=<<<INSERT_osminorversion_HERE>>>
osarch=<<<INSERT_osarch_HERE>>>
# compat_osbasenames=
# compat_osbasenames=<<<INSERT_compatible_HERE_>>>
#
# kitcomponent: This stanza defines one Kit Component.
# There can be zero or more kitcomponent stanzas.