From b2fa2d92c5f85e750e57fa4ac9a25e74aba82251 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 23 Jun 2021 11:32:43 -0400 Subject: [PATCH] Correct formatting mistake in os profile label in diskless --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 5c41209a..2d4aa611 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -485,7 +485,7 @@ def pack_image(opts, args): if line.startswith('PRETTY_NAME="'): prettyname = line.replace( 'PRETTY_NAME=', '').replace('"', '') - label = '{0} ({1}'.format(prettyname, 'Diskless Boot') + 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'.format(label)) oscat = oshandler.oscategory