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:
parent
5942dfdc99
commit
e48a9c4599
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user