mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Fix path to kernel in boot.cfg
esxi was pointed to the wrong location.
This commit is contained in:
parent
76f256a344
commit
92913e1119
@ -66,8 +66,9 @@ def update_boot_esxi(profiledir, profile, label):
|
||||
elif cfgline.startswith('kernelopt='):
|
||||
newbootcfg += 'kernelopt={0}\n'.format(kernelargs)
|
||||
elif cfgline.startswith('kernel='):
|
||||
newbootcfg += cfgline + '\n'
|
||||
kern = cfgline.split('=', 1)[1]
|
||||
kern = kern.replace('/', '')
|
||||
newbootcfg += 'kernel={0}\n'.format(kern)
|
||||
filesneeded.append(kern)
|
||||
elif cfgline.startswith('modules='):
|
||||
modlist = cfgline.split('=', 1)[1]
|
||||
|
Loading…
Reference in New Issue
Block a user