mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix typo in dracut configuration
This commit is contained in:
parent
334ec3a74f
commit
24d33256ca
@ -91,7 +91,7 @@ class ElHandler(object):
|
||||
targdir = os.path.join(self.targpath, 'usr/lib/dracut/modules.d/97diskless')
|
||||
shutil.copytree(dracutdir, targdir)
|
||||
with open(os.path.join(self.targpath, 'etc/dracut.conf.d/diskless.conf'), 'w') as dracutconf:
|
||||
dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo\n')
|
||||
dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo"\n')
|
||||
cmd = ['chmod', 'a+x']
|
||||
cmd.extend(glob.glob(os.path.join(targdir, '*')))
|
||||
subprocess.check_call(cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user