mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-19 03:54:03 +01:00
32 lines
5.4 KiB
HTML
32 lines
5.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>12.13. Adding Password Management to Your Templates</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="working-with-templates.html" title="Chapter 12. Working with Templates" /><link rel="prev" href="convert-hyperv-vm-to-template.html" title="12.12. Converting a Hyper-V VM to a Template" /><link rel="next" href="delete-templates.html" title="12.14. Deleting Templates" /></head><body><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="convert-hyperv-vm-to-template.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="delete-templates.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="add-password-management-to-templates" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="add-password-management-to-templates">12.13. Adding Password Management to Your Templates</h2></div></div></div><div class="para">
|
||
CloudStack provides an optional password reset feature that allows users to set a temporary admin or root password as well as reset the existing admin or root password from the CloudStack UI.
|
||
</div><div class="para">
|
||
To enable the Reset Password feature, you will need to download an additional script to patch your template. When you later upload the template into CloudStack, you can specify whether reset admin/root password feature should be enabled for this template.
|
||
</div><div class="para">
|
||
The password management feature works always resets the account password on instance boot. The script does an HTTP call to the virtual router to retrieve the account password that should be set. As long as the virtual router is accessible the guest will have access to the account password that should be used. When the user requests a password reset the management server generates and sends a new password to the virtual router for the account. Thus an instance reboot is necessary to effect any password changes.
|
||
</div><div class="para">
|
||
If the script is unable to contact the virtual router during instance boot it will not set the password but boot will continue normally.
|
||
</div><div xml:lang="en-US" class="section" id="linux-installation" lang="en-US"><div class="titlepage"><div><div><h3 class="title" id="linux-installation">12.13.1. Linux OS Installation</h3></div></div></div><div class="para">
|
||
Use the following steps to begin the Linux OS installation:
|
||
</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
|
||
Download the script file cloud-set-guest-password:
|
||
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
|
||
Linux: <a href="http://cloudstack.org/dl/cloud-set-guest-password">http://cloudstack.org/dl/cloud-set-guest-password</a>
|
||
</div></li><li class="listitem"><div class="para">
|
||
Windows: <a href="http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download">http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download</a>
|
||
</div></li></ul></div></li><li class="listitem"><div class="para">
|
||
Copy this file to /etc/init.d.
|
||
</div><div class="para">
|
||
On some Linux distributions, copy the file to /etc/rc.d/init.d.
|
||
</div></li><li class="listitem"><div class="para">
|
||
Run the following command to make the script executable:
|
||
</div><pre class="programlisting">chmod +x /etc/init.d/cloud-set-guest-password</pre></li><li class="listitem"><div class="para">
|
||
Depending on the Linux distribution, continue with the appropriate step.
|
||
</div><div class="para">
|
||
On Fedora, CentOS/RHEL, and Debian, run:
|
||
</div><pre class="programlisting">chkconfig --add cloud-set-guest-password</pre></li></ol></div></div><div xml:lang="en-US" class="section" id="windows-installation" lang="en-US"><div class="titlepage"><div><div><h3 class="title" id="windows-installation">12.13.2. Windows OS Installation</h3></div></div></div><div class="para">
|
||
Download the installer, CloudInstanceManager.msi, from <a href="http://cloudstack.org/download.html">Download page</a> and run the installer in the newly created Windows VM.
|
||
</div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="convert-hyperv-vm-to-template.html"><strong>Prev</strong>12.12. Converting a Hyper-V VM to a Template</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="delete-templates.html"><strong>Next</strong>12.14. Deleting Templates</a></li></ul></body></html>
|