Good morning,
I'm trying to create a virtual machine from ssh, it all works well, the machine is created with the template that I order.
But the problem I have to tell you the root password.
As I enter it? plain text? md5? as we are trying to do, but how do I say will not let us enter the virtual machine with the password entered.
Here's an example:
/ usr / bin / ssh-t-t-n-o BatchMode XXX.XXX.XXX.XXX = yes / usr / bin / pvectl vzcreate 220 - disk 10 - ostemplate centos.tar.gz - rootpasswd asdf123 -- hostname host10 - nameserver xx.xx.xx.xx - nameserver xx.xx.xx.xx - searchdomain mydomain.net - onboot yes - ipset XXX.XXX.XXX.XXX - swap 512 - mem 128 - CPUs 1
I tried putting asdf123, 'asdf123' and md5 but no works by accessing the machine.
I appreciate your help
I'm trying to create a virtual machine from ssh, it all works well, the machine is created with the template that I order.
But the problem I have to tell you the root password.
As I enter it? plain text? md5? as we are trying to do, but how do I say will not let us enter the virtual machine with the password entered.
Here's an example:
/ usr / bin / ssh-t-t-n-o BatchMode XXX.XXX.XXX.XXX = yes / usr / bin / pvectl vzcreate 220 - disk 10 - ostemplate centos.tar.gz - rootpasswd asdf123 -- hostname host10 - nameserver xx.xx.xx.xx - nameserver xx.xx.xx.xx - searchdomain mydomain.net - onboot yes - ipset XXX.XXX.XXX.XXX - swap 512 - mem 128 - CPUs 1
I tried putting asdf123, 'asdf123' and md5 but no works by accessing the machine.
I appreciate your help