update to mariadb 10.3
This commit is contained in:
@@ -103,12 +103,12 @@ class WOStackController(CementBaseController):
|
|||||||
keyserver="keyserver.ubuntu.com")
|
keyserver="keyserver.ubuntu.com")
|
||||||
chars = ''.join(random.sample(string.ascii_letters, 8))
|
chars = ''.join(random.sample(string.ascii_letters, 8))
|
||||||
Log.debug(self, "Pre-seeding MySQL")
|
Log.debug(self, "Pre-seeding MySQL")
|
||||||
Log.debug(self, "echo \"mariadb-server-10.1 "
|
Log.debug(self, "echo \"mariadb-server-10.3 "
|
||||||
"mysql-server/root_password "
|
"mysql-server/root_password "
|
||||||
"password \" | "
|
"password \" | "
|
||||||
"debconf-set-selections")
|
"debconf-set-selections")
|
||||||
try:
|
try:
|
||||||
WOShellExec.cmd_exec(self, "echo \"mariadb-server-10.1 "
|
WOShellExec.cmd_exec(self, "echo \"mariadb-server-10.3 "
|
||||||
"mysql-server/root_password "
|
"mysql-server/root_password "
|
||||||
"password {chars}\" | "
|
"password {chars}\" | "
|
||||||
"debconf-set-selections"
|
"debconf-set-selections"
|
||||||
@@ -117,12 +117,12 @@ class WOStackController(CementBaseController):
|
|||||||
except CommandExecutionError as e:
|
except CommandExecutionError as e:
|
||||||
Log.error("Failed to initialize MySQL package")
|
Log.error("Failed to initialize MySQL package")
|
||||||
|
|
||||||
Log.debug(self, "echo \"mariadb-server-10.1 "
|
Log.debug(self, "echo \"mariadb-server-10.3 "
|
||||||
"mysql-server/root_password_again "
|
"mysql-server/root_password_again "
|
||||||
"password \" | "
|
"password \" | "
|
||||||
"debconf-set-selections")
|
"debconf-set-selections")
|
||||||
try:
|
try:
|
||||||
WOShellExec.cmd_exec(self, "echo \"mariadb-server-10.1 "
|
WOShellExec.cmd_exec(self, "echo \"mariadb-server-10.3 "
|
||||||
"mysql-server/root_password_again "
|
"mysql-server/root_password_again "
|
||||||
"password {chars}\" | "
|
"password {chars}\" | "
|
||||||
"debconf-set-selections"
|
"debconf-set-selections"
|
||||||
|
|||||||
Reference in New Issue
Block a user