mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 04:07:51 +00:00
Fix compatibility with CentOS7 for imgutil build -s
This commit is contained in:
parent
522d7e2b59
commit
b1cbca414a
@ -342,7 +342,7 @@ def create_yumconf(sourcedir, addrepos):
|
||||
if os.path.exists(sourcedir + '/repodata'):
|
||||
yumconf.write('[genimage-topdir]\n')
|
||||
yumconf.write('name=Local install repository\n')
|
||||
yumconf.write('baseurl={0}\n'.format(sourcedir))
|
||||
yumconf.write('baseurl=file://{0}\n'.format(sourcedir))
|
||||
yumconf.write('enabled=1\ngpgcheck=0\n\n')
|
||||
else:
|
||||
c = configparser.ConfigParser()
|
||||
|
Loading…
x
Reference in New Issue
Block a user