Re: [pve-devel] [PATCH][pve-manager] Changes set_userpasswd method

2013-10-24 Thread Игорь Шестаков
Previous solution work only with simfs. If we use ploop, we need to mount VM image and then change password. Why we can't solve this with simple, built-in solution? VM will start, but only for password change. On Thu, Oct 24, 2013 at 7:18 PM, Dietmar Maurer wrote: > > - # hack:

Re: [pve-devel] [PATCH][pve-manager] Changes set_userpasswd method

2013-10-24 Thread Dietmar Maurer
> - # hack: vzctl '--userpasswd' starts the CT, but we want > - # to avoid that for create > - PVE::OpenVZ::set_rootpasswd($private, $password) > + PVE::OpenVZ::set_rootpassword($vmid, $password) As mentioned in the comment, we don't want to

[pve-devel] [PATCH][pve-manager] Changes set_userpasswd method

2013-10-24 Thread Игорь
Current solution with changing passwd and shadow files in VM private directories doesn't work with PLOOP. We MUST use vzctl set --userpasswd diff --git a/PVE/API2/OpenVZ.pm b/PVE/API2/OpenVZ.pm index 06fe60b..13fdb5a 100644 --- a/PVE/API2/OpenVZ.pm +++ b/PVE/API2/OpenVZ.pm @@ -411,9 +411,7 @@ __PA

Re: [pve-devel] [PATCH] Fix indentation.

2013-10-24 Thread Michael Rasmussen
On 10-24-2013 09:41, Dietmar Maurer wrote: Yes, I don't really want to replace tabs, and my emacs indents 8 characters with TAB. Ok. I wil change it. An idea could be to create a pre-commit hook script which normalized indentation an tabs to the desired format. -- Hilsen/regards Michael Ra

Re: [pve-devel] [PATCH] Fix indentation.

2013-10-24 Thread Dietmar Maurer
> > But why do you change indentaion here? > > > A tab is replaced by 4 spaces. I might adjust my editor to not replace tabs > with > spaces. Yes, I don't really want to replace tabs, and my emacs indents 8 characters with TAB. ___ pve-devel mailing li

Re: [pve-devel] [PATCH] Fix indentation.

2013-10-24 Thread Michael Rasmussen
On 10-24-2013 09:20, Dietmar Maurer wrote: onGetValues: function(values) { - var me = this; +var me = this; But why do you change indentaion here? A tab is replaced by 4 spaces. I might adjust my editor to not replace tabs with spaces. -- Hilsen/regards Michael Rasmussen<>___

Re: [pve-devel] [PATCH] Fix indentation.

2013-10-24 Thread Dietmar Maurer
> onGetValues: function(values) { > - var me = this; > +var me = this; But why do you change indentaion here? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel