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:
> - # 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
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
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
> > 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
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<>___
> 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