weizhouapache commented on code in PR #331:
URL:
https://github.com/apache/cloudstack-documentation/pull/331#discussion_r1271665376
##########
source/adminguide/templates/_cloud_init.rst:
##########
@@ -75,15 +65,15 @@ These features can be implemented in `“Linux template
creation process” <_cr
#. **Password management**
- Cloudstack integration with cloud-init `set-passwords module
<https://cloudinit.readthedocs.io/en/latest/topics/modules.html?highlight=ssh_pwauth#set-passwords>`_
will enable the platform to set a password for each instance created from the
Main Template. Additionally it will allow to reset the user password through
the GUI.
+ Cloudstack integration with cloud-init `set_passwords module
<https://cloudinit.readthedocs.io/en/latest/topics/modules.html?highlight=ssh_pwauth#set-passwords>`_
will enable the platform to set a password for each instance created from the
Main Template. Additionally it will allow to reset the user password through
the GUI.
- - **Enable set-passwords module on every boot**
+ - **Enable set_passwords module on every boot**
- By default the set-passwords module runs only on first boot of the
instance, change that to run on every boot.
+ By default the set_passwords module runs only on first boot of the
instance, change that to run on every boot.
.. code:: bash
- sudo sed -i s/" - set-passwords"/" - [set-passwords, always]"/g
/etc/cloud/cloud.cfg
Review Comment:
@TheRealFalcon
in my template (the cloud-init version is 23.1.2), it still uses
`set-passwords`
would be good to mention the cloud-init version of old/new setting ?
##########
source/adminguide/templates/_cloud_init.rst:
##########
@@ -75,15 +65,15 @@ These features can be implemented in `“Linux template
creation process” <_cr
#. **Password management**
- Cloudstack integration with cloud-init `set-passwords module
<https://cloudinit.readthedocs.io/en/latest/topics/modules.html?highlight=ssh_pwauth#set-passwords>`_
will enable the platform to set a password for each instance created from the
Main Template. Additionally it will allow to reset the user password through
the GUI.
+ Cloudstack integration with cloud-init `set_passwords module
<https://cloudinit.readthedocs.io/en/latest/topics/modules.html?highlight=ssh_pwauth#set-passwords>`_
will enable the platform to set a password for each instance created from the
Main Template. Additionally it will allow to reset the user password through
the GUI.
Review Comment:
@TheRealFalcon
are you saying that cloud-init can get the new password from cloudstack VR
(password server) ?
if it works, it would be awesome.
--
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]