From 27a1649d94f18048ab14f1de8748a3efe7df2c71 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 1 Sep 2021 10:44:25 -0400 Subject: [PATCH] Add more in-context stateless documentation Specify what default behavior is and reason to choose one over the other. --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index b9d63348..6d65a149 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -971,7 +971,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\n'.format(label)) + 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)) oscat = oshandler.oscategory confdir = '/opt/confluent/lib/osdeploy/{}-diskless'.format(oscat) os.symlink('{}/initramfs/addons.cpio'.format(confdir),