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


   @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 


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