Fix root password set for percona repo package
When the percona-cluster repository is used the name of the package is percona-xtradb-cluster-server not percona-server-server. Add percona-xtradb-cluster-server to the debconf set selections so the root password can be set. Change-Id: Ic15e03aaa7bab1db27ca1294584e51c4014fcd96 Closes-Bug: #1662642
This commit is contained in:
parent
7552fb13bf
commit
95813ef323
|
@ -219,7 +219,8 @@ def configure_mysql_root_password(password):
|
|||
dconf = Popen(['debconf-set-selections'], stdin=PIPE)
|
||||
# Set both percona and mysql password options to cover
|
||||
# both upstream and distro packages.
|
||||
packages = ["percona-server-server", "mysql-server"]
|
||||
packages = ["percona-server-server", "mysql-server",
|
||||
"percona-xtradb-cluster-server"]
|
||||
m_helper = get_db_helper()
|
||||
root_pass = m_helper.get_mysql_root_password(password)
|
||||
for package in packages:
|
||||
|
|
Loading…
Reference in New Issue