2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-30 14:22:26 +00:00

Merge pull request #326 from Obihoernchen/fix/imgutil-pack-imagemethod-hint

Mention uncompressed in the profile.yaml written by imgutil pack
This commit is contained in:
Jarrod Johnson
2026-10-30 08:04:59 -04:00
committed by GitHub
+1 -1
View File
@@ -1739,7 +1739,7 @@ def pack_image(args):
'PRETTY_NAME=', '').replace('"', '')
label = '{0} ({1})'.format(prettyname, 'Diskless Boot')
with open(os.path.join(outdir, 'profile.yaml'), 'w') as profiley:
profiley.write('label: {0}\nkernelargs: quiet # confluent_imagemethod=untethered|tethered # tethered is default when unspecified to save on memory, untethered will use more ram, but will not have any ongoing runtime root fs dependency on the http servers.\n'.format(label))
profiley.write('label: {0}\nkernelargs: quiet # confluent_imagemethod=untethered|uncompressed|tethered # tethered is default when unspecified to save on memory, untethered will use more ram, but will not have any ongoing runtime root fs dependency on the http servers, uncompressed is like untethered, but trades even more ram for less cpu.\n'.format(label))
oscat = oshandler.oscategory
confdir = '/opt/confluent/lib/osdeploy/{}-diskless'.format(oscat)
packarch = imgarch if imgarch else os.uname().machine