weizhouapache commented on PR #6783: URL: https://github.com/apache/cloudstack/pull/6783#issuecomment-1289228158
> > I run this script on a ubuntu 22.04 host, the password has been changed successfully, but the exit code is 1 > > ``` > > # /usr/share/cloudstack-common/scripts/vm/hypervisor/update_host_passwd.sh root password > > New password: Retype new password: passwd: password updated successfully > > # echo $? > > 1 > > ``` > > > > > > > > > > > > > > > > > > > > > > > > still needs some changes @RodrigoDLopez > > I ran the same test with Ubuntu versions 20.04 and 22.04. However, the result in my environment was different from what was reported. > > On ubuntu 20.04: > > ``` > :~# /usr/share/cloudstack-common/scripts/vm/hypervisor/update_host_passwd.sh root password > New password: Retype new password: passwd: password updated successfully > :~# > ``` > > On ubuntu 22.04: > > ``` > :~# /usr/share/cloudstack-common/scripts/vm/hypervisor/update_host_passwd.sh root password123 > New password: Retype new password: passwd: password updated successfully > :~# > ``` > > can you recheck? @RodrigoDLopez have you checked the exit code of the script ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
