Description of problem: Improve guest login credentials: 1. move the icon ">" close to the text 2. if there are no username and password, shows "no guest credentials" instead of showing the long text. 3. remove the "copy to clipboard" icon if no password Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Find out some doc about default cloud-init username. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_and_managing_cloud-init_for_rhel_8/index#the-default-cloud-cfg-file_red-hat-support-for-cloud-init So cloud-user is the default username. I'll fix this bug in this way if you guys agree: - no password, no username: 'No guest credentials' message - password with no username: Username: cloud-user, password: ${PASSWORD} - no password with username: Username: ${USERNAME} - password with username: Username: ${USERNAME}, password: ${PASSWORD} What do you think? @guohua @yaacov
FIX: - password with no username: Username: 'No username set, see operating system documentation for the default username.', password: ${PASSWORD}
verified on OCP-v4.11.0-47
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526