diff --git a/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml b/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml index dc0d1a33..b9c84687 100644 --- a/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml +++ b/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml @@ -1,3 +1,3 @@ -label: Confluent installation of VMware ESXi %%VERSION%% Hypervisor +label: VMware ESXi %%VERSION%% Hypervisor ostype: esxi kernelargs: runweasel diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 387922fa..8b9101ec 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -91,10 +91,13 @@ def update_boot_esxi(profiledir, profile, label): newbootcfg = '' efibootcfg = '' filesneeded = [] + localabel = label + if 'installation of' not in localabel: + localabel = 'Confluent installation of {}'.format(localabel) for cfgline in bootcfg: if cfgline.startswith('title='): - newbootcfg += 'title={0}\n'.format(label) - efibootcfg += 'title={0}\n'.format(label) + newbootcfg += 'title={0}\n'.format(localabel) + efibootcfg += 'title={0}\n'.format(localabel) elif cfgline.startswith('kernelopt='): newbootcfg += 'kernelopt={0}\n'.format(kernelargs) efibootcfg += 'kernelopt={0}\n'.format(kernelargs)