mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Bug #964: Fix the onedb command options parsing, the mysql options were ignored
This commit is contained in:
parent
95f61805d6
commit
a1b72d534a
@ -103,7 +103,7 @@ USERNAME={
|
||||
:description => "MySQL username",
|
||||
:proc => lambda { |o, options|
|
||||
options[:backend] = :mysql
|
||||
options[:username] = o
|
||||
options[:user] = o
|
||||
}
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ PASSWORD={
|
||||
:description => "MySQL password. Leave unset to be prompted for it",
|
||||
:proc => lambda { |o, options|
|
||||
options[:backend] = :mysql
|
||||
options[:password] = o
|
||||
options[:passwd] = o
|
||||
}
|
||||
}
|
||||
|
||||
@ -127,7 +127,7 @@ DBNAME={
|
||||
:description => "MySQL DB name for OpenNebula",
|
||||
:proc => lambda { |o, options|
|
||||
options[:backend] = :mysql
|
||||
options[:dbname] = o
|
||||
options[:db_name] = o
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user