aleskxyz commented on issue #4809:
URL: https://github.com/apache/cloudstack/issues/4809#issuecomment-800057126


   > @aleskxyz
   > most cloudstack users use the following scripts (or similar)
   > 
https://github.com/apache/cloudstack/blob/master/setup/bindir/cloud-set-guest-password.in
   > 
https://github.com/apache/cloudstack/blob/master/setup/bindir/cloud-set-guest-password-configdrive.in
   > 
   > the vm password is processed like
   > (1) save vm password in VR
   > (2) when vm starts, it gets dhcp ip from dhcp server (VR), then sends 
request to the a password server (=dhcp server/VR from dhcp lease file)
   > (3) when vm gets password from password server(VR), it sends a request to 
remove the password in password server (VR).
   > 
   > the scripts get password from only 1 password server/VR (and exit). 
password is also saved into only 1 password server/VR.
   > that's the expected behavior in cloudstack.
   > 
   > in cloudstack , each nic has a `device_id` in `nics` table.
   > deviceId will be also displayed in response and UI, see #4768
   
   Thanks @weizhouapache 
   Did you use these scripts with cloud-init?
   One of the reasons that I open this issue was simplifying password 
management with cloud-init.
   If you have any experience with it, please leave your comment in the related 
question in mailing-list:
   
https://lists.apache.org/thread.html/r57b74dcd13d656ee0351bdf93bf3ee0ca307ce972c701821d3245706%40%3Cusers.cloudstack.apache.org%3E


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to