commit b2f15301ee8e360a5d09a7a08995bdee3cd7c2ec
Author: Karla Felix <email address hidden>
Date: Tue Nov 22 15:42:48 2022 -0300
After upgrade subcloud linux prompt is different
The regex in prompt.sh is incorrectly adding [] to around
user@hostname. This commit removes those brackets in order
to have the expected format.
Test Plan:
PASS: Enter "sudo su -" and verify if the prompt shows "root@controller-0:~$".
PASS: Generate a new .iso with the changes and verify
if when entering sudo with "sudo su -" it is showing "root@controller-0:~$".
PASS: Install system and verify if prompt show "sysadmin@controller-0:~$ "
Closes-Bug: 1997972
Related-Bug: 1995988
Signed-off-by: Karla Felix <email address hidden>
Change-Id: Idfd3b03f2ce1eb9679e227c9406aaf200514977a
Reviewed: https:/ /review. opendev. org/c/starlingx /config- files/+ /865324 /opendev. org/starlingx/ config- files/commit/ b2f15301ee8e360 a5d09a7a08995bd ee3cd7c2ec
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b2f15301ee8e360 a5d09a7a08995bd ee3cd7c2ec
Author: Karla Felix <email address hidden>
Date: Tue Nov 22 15:42:48 2022 -0300
After upgrade subcloud linux prompt is different
The regex in prompt.sh is incorrectly adding [] to around
user@hostname. This commit removes those brackets in order
to have the expected format.
Test Plan:
PASS: Enter "sudo su -" and verify if the prompt shows
"root@ controller- 0:~$".
"root@ controller- 0:~$".
"sysadmin@ controller- 0:~$ "
PASS: Generate a new .iso with the changes and verify
if when entering sudo with "sudo su -" it is showing
PASS: Install system and verify if prompt show
Closes-Bug: 1997972 9679e227c9406aa f200514977a
Related-Bug: 1995988
Signed-off-by: Karla Felix <email address hidden>
Change-Id: Idfd3b03f2ce1eb