mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloud-setup-databases don't need to specify hypervisor type, just remove the confusing help
This commit is contained in:
parent
8da65435be
commit
d3404cfec1
@ -48,7 +48,7 @@ except ImportError:
|
|||||||
#---------------------- option parsing and command line checks ------------------------
|
#---------------------- option parsing and command line checks ------------------------
|
||||||
|
|
||||||
|
|
||||||
usage = """%prog user:password@mysqlhost:port <kvm|xenserver|vmware> [--deploy-as=rootuser:rootpassword] [--auto=/path/to/server-setup.xml]
|
usage = """%prog user:password@mysqlhost:port [--deploy-as=rootuser:rootpassword] [--auto=/path/to/server-setup.xml]
|
||||||
|
|
||||||
This command sets up the CloudStack Management Server and CloudStack Usage Server database configuration (connection credentials and host information) based on the first argument.
|
This command sets up the CloudStack Management Server and CloudStack Usage Server database configuration (connection credentials and host information) based on the first argument.
|
||||||
|
|
||||||
@ -60,27 +60,24 @@ The port and the password are optional and can be left out.. If host is omitted
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
%prog cloud:secret xenserver
|
%prog cloud:secret
|
||||||
sets user cloud and password 'secret' up in
|
sets user cloud and password 'secret' up in
|
||||||
@MSCONF@/db.properties, using localhost as the
|
@MSCONF@/db.properties, using localhost as the
|
||||||
database server and XenServer as the VT technology
|
database server
|
||||||
|
|
||||||
%prog sheng:rules@192.168.1.1 kvm
|
%prog sheng:rules@192.168.1.1
|
||||||
sets these credentials up in @MSCONF@/db.properties
|
sets these credentials up in @MSCONF@/db.properties
|
||||||
prepares the system for KVM hosts
|
|
||||||
|
|
||||||
%prog alex:founder@1.2.3.4 --deploy-as=root:nonsense kvm
|
%prog alex:founder@1.2.3.4 --deploy-as=root:nonsense
|
||||||
sets alex up as the MySQL user, then connects as the root user
|
sets alex up as the MySQL user, then connects as the root user
|
||||||
with password 'nonsense', and recreates the databases, creating
|
with password 'nonsense', and recreates the databases, creating
|
||||||
the user alex with password 'founder' as necessary
|
the user alex with password 'founder' as necessary
|
||||||
prepares the system for KVM hosts
|
|
||||||
|
|
||||||
%prog alena:tests@5.6.7.8 --deploy-as=root:nonsense --auto=/root/server-setup.xml kvm
|
%prog alena:tests@5.6.7.8 --deploy-as=root:nonsense --auto=/root/server-setup.xml
|
||||||
sets alena up as the MySQL user, then connects as the root user
|
sets alena up as the MySQL user, then connects as the root user
|
||||||
with password 'nonsense' to server 5.6.7.8, then recreates the
|
with password 'nonsense' to server 5.6.7.8, then recreates the
|
||||||
databases and sets up the alena user, then performs an automated
|
databases and sets up the alena user, then performs an automated
|
||||||
database setup using the information in server-setup.xml
|
database setup using the information in server-setup.xml
|
||||||
prepares the system for KVM hosts
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
parser = OptionParser(usage=usage)
|
parser = OptionParser(usage=usage)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user