From e6550d816014848db2f106d63192f910b057522c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 14 Jun 2021 16:55:32 -0400 Subject: [PATCH] Fix use of label in profile.yaml --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 533b34ad..6418cacb 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -367,7 +367,7 @@ def pack_image(opts, args): 'PRETTY_NAME=', '').replace('"', '') label = '{0} ({1}'.format(prettyname, 'Diskless Boot') with open(os.path.join(outdir, 'profile.yaml'), 'w') as profile: - profile.write('label: {0}\nkernelargs: quiet # confluent_imagemethod=untethered|tethered\n') + profile.write('label: {0}\nkernelargs: quiet # confluent_imagemethod=untethered|tethered\n'.format(label)) oscat = oshandler.oscategory confdir = '/opt/confluent/lib/osdeploy/{}-diskless'.format(oscat) os.symlink('{}/initramfs/addons.cpio'.format(confdir),