Switch to PyMYSQL
Switching to PyMySQL for future compatibility. Change-Id: Ib395c82dea6160df16349bbea8309ebe4e167c28
This commit is contained in:
parent
f3e9cf9b98
commit
e07c6bff36
@ -95,7 +95,7 @@
|
||||
dest=/etc/ironic/ironic.conf
|
||||
insertafter="[database]"
|
||||
regexp='^(.*)connection=(.*)$'
|
||||
line="connection=mysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
|
||||
line="connection=mysql+pymysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
|
||||
- name: "Configure DHCP provider"
|
||||
lineinfile:
|
||||
dest=/etc/ironic/ironic.conf
|
||||
|
@ -9,3 +9,4 @@ Babel>=1.3
|
||||
oslo.config>=2.3.0 # Apache-2.0
|
||||
oslo.log>=1.8.0 # Apache-2.0
|
||||
six>=1.9.0
|
||||
PyMySQL>=0.6.2 # MIT License
|
||||
|
Loading…
Reference in New Issue
Block a user