Re: Password Management in OS Templates Not Working

2013-08-08 Thread Punit Dambiwal
NoI just copied this from sourceforge and run On Thu, Aug 8, 2013 at 1:47 PM, Harikrishna Patnala harikrishna.patn...@citrix.com wrote: Hi Did you prepare this script in windows environment? Seems like some control characters got inserted in the script. -Harikrishna On 08-Aug-2013,

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Prasanna Santhanam
Try these: https://github.com/shankerbalan/cloudstack-scripts On Thu, Aug 08, 2013 at 02:09:02PM +0800, Punit Dambiwal wrote: NoI just copied this from sourceforge and run On Thu, Aug 8, 2013 at 1:47 PM, Harikrishna Patnala harikrishna.patn...@citrix.com wrote: Hi Did you

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Harikrishna Patnala
Yes I just checked the script it contains control characters. Please use the script at link https://github.com/apache/cloudstack/blob/master/setup/bindir/cloud-set-guest-password.in On 08-Aug-2013, at 11:46 AM, Prasanna Santhanam t...@apache.org wrote: Try these:

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Punit Dambiwal
Hi, I tried this same error.. On Thu, Aug 8, 2013 at 2:14 PM, Prasanna Santhanam t...@apache.org wrote: Try these: https://github.com/shankerbalan/cloudstack-scripts On Thu, Aug 08, 2013 at 02:09:02PM +0800, Punit Dambiwal wrote: NoI just copied this from sourceforge and run On

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Punit Dambiwal
Hi Harikrishna, I tried with your and prasanna suggested scripts...but both have the same error :- [root@test3 init.d]# sh cloud-set-guest-password : command not foundsword: line 7: : command not foundsword: line 24: : command not foundsword: line 25: : command not

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Prasanna Santhanam
There's a problem with your editor likely. From the guest just do a wget of the script and save it instead of copy-pasting using an editor. On Thu, Aug 08, 2013 at 02:26:54PM +0800, Punit Dambiwal wrote: Hi Harikrishna, I tried with your and prasanna suggested scripts...but both have the

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Punit Dambiwal
Hi Prasanna, *I try to wget this but the downloaded file is with html tags...do you have another way to download this.* On Thu, Aug 8, 2013 at 2:30 PM, Prasanna Santhanam t...@apache.org wrote: There's a problem with your editor likely. From the guest just do a wget of the script and save

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Jayapal Reddy Uradi
Hi, Please take the below script http://pastebin.com/1RWdYJcF Thanks, Jayapal On 08-Aug-2013, at 12:12 PM, Prasanna Santhanam t...@apache.org wrote: Hit the RAW button and use the resulting link. On Thu, Aug 08, 2013 at 02:37:46PM +0800, Punit Dambiwal wrote: Hi Prasanna, *I try to

Re: Password Management in OS Templates Not Working

2013-08-08 Thread Punit Dambiwal
Hi Prasanna, Now it's working perfectthanks for your all help On Thu, Aug 8, 2013 at 2:53 PM, Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com wrote: Hi, Please take the below script http://pastebin.com/1RWdYJcF Thanks, Jayapal On 08-Aug-2013, at 12:12 PM, Prasanna Santhanam

Password Management in OS Templates Not Working

2013-08-07 Thread Punit Dambiwal
Hi, I Followed the following url to add the Password Management in OS templatesplace the cloud-set-guest-password in the /etc/init.d/. When i try to deploy the new VM with this template,VM deployed successfully and prompt the new password,but when try to login to VM...the new password

Re: Password Management in OS Templates Not Working

2013-08-07 Thread Venkata SwamyBabu Budumuru
Since you made this as a startup script, what do you see just before the guest login prompt appears? Do you see any errors when the script executed or does it say it has set the password successfully. At the same time, you can also check on your VR for /var/cloud/cache/password file and see the

Re: Password Management in OS Templates Not Working

2013-08-07 Thread Punit Dambiwal
Hi Venkata, Thanks for the replyas the script run successfully and prompt the new password...but when i try to login...i couldn't be able to login with the prompted password I tried to run the script on guest VM,it throws error :- -- [root@test3 init.d]#