mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Change imgutil packaging and pkglist path
This commit is contained in:
parent
cce2c6d6db
commit
0079e5c437
@ -19,6 +19,7 @@ images for diskless boot.
|
||||
mkdir -p opt/confluent/lib/imgutil
|
||||
mkdir -p opt/confluent/bin
|
||||
mv imgutil opt/confluent/bin/
|
||||
chmod a+x opt/confluent/bin/imgutil
|
||||
mv el8 opt/confluent/lib/imgutil/
|
||||
|
||||
%install
|
||||
|
@ -73,8 +73,8 @@ class ElHandler(object):
|
||||
self.oscategory = 'el8'
|
||||
self.yumargs = []
|
||||
|
||||
def add_pkglists(self, profile='default'):
|
||||
with open(os.path.join(get_mydir('el8'), 'profiles/{}/pkglist'.format(profile)), 'r') as pkglist:
|
||||
def add_pkglists(self):
|
||||
with open(os.path.join(get_mydir('el8'), 'pkglist'), 'r') as pkglist:
|
||||
pkgs = pkglist.read()
|
||||
pkgs = pkgs.split()
|
||||
self.yumargs.extend(pkgs)
|
||||
|
Loading…
Reference in New Issue
Block a user