I am looking into writing a module for a common billing system so that we can setup auto-creation of vps'
We are looking for what the actual commands are (since i have not seen an api as of yet) that can be used to create these
In short - we would be using the canned openvz templates
most would be the centos, debian, and ubuntu options
if we were to create canned sizes - and canned ram - what commands would be need to pass via ssh ?
my concern is how to pass the password over for md5 - and pick another host node...
(btw that works by itself )
We are looking for what the actual commands are (since i have not seen an api as of yet) that can be used to create these
In short - we would be using the canned openvz templates
most would be the centos, debian, and ubuntu options
if we were to create canned sizes - and canned ram - what commands would be need to pass via ssh ?
Code:
/usr/bin/pvectl vzcreate 1190 --disk 10 --ostemplate centos-5-standard_5.2-1_i386.tar.gz --rootpasswd $1$8BeuZIu2$QK.ovAbEchC0TOmK0uOUM1 --hostname hostname.domain.tld --description enter descrition here --nameserver 208.67.220.220 --nameserver 208.67.222.222 --searchdomain domain.tld --onboot yes --swap 64 --ipset x.x.x.x --mem 64 --cpus 1
(btw that works by itself )
Last edited: