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

Игорь Шестаков shine at selectel.ru
Thu Oct 24 21:06:10 CEST 2013


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 <dietmar at proxmox.com> wrote:

> > -               # 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 start the VM.
> Your approach start the VM (or is that fixed now)?
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>



-- 
С уважением, Шестаков Игорь
Сеть дата-центров "Селектел"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20131024/1e617732/attachment.htm>


More information about the pve-devel mailing list