Comment 1 for bug 1997972

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config-files (master)

Reviewed: https://review.opendev.org/c/starlingx/config-files/+/865324
Committed: https://opendev.org/starlingx/config-files/commit/b2f15301ee8e360a5d09a7a08995bdee3cd7c2ec
Submitter: "Zuul (22348)"
Branch: master

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