2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 00:42:20 +00:00

Mention uncompressed in the profile.yaml written by imgutil pack

Only untethered and tethered were listed.
This commit is contained in:
Markus Hilger
2026-10-30 09:47:00 +01:00
parent 0c57184ef1
commit 0bd7fd94f5
+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