Debian: Fixed banner error message

When logging, a message would show saying
"-sh: The: command not found"

This was due to a warning message that was being added
to /etc/bash_completion.d/openstack when the command
"openstack complete" is executed to fill the file.

Added a "-q" flag to suppress the warning message.

Test Plan:
PASS normal banner when logging
PASS file does not contain the warning message
PASS bootstrap and unlock

Closes-Bug: 1978493

Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: Ie935ae2c32e644cd6bc622046319adfb90d6477e
This commit is contained in:
Leonardo Fagundes Luz Serrano
2022-06-13 14:55:40 -03:00
parent 3e19ab6ffe
commit c5697da57d

View File

@@ -26,7 +26,7 @@ class platform::client
-> file {'/etc/bash_completion.d/openstack':
ensure => 'present',
mode => '0644',
content => generate('/usr/bin/openstack', 'complete'),
content => generate('/usr/bin/openstack', 'complete', '-q'),
}
if $::personality == 'controller' {