From a364434c685539b71c90751e9da5ca0db2cf7b20 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 5 Jul 2020 14:38:24 +0500 Subject: [PATCH] allow to enter remote mysql default db --- install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index b66a5f3f2..c115dd13d 100755 --- a/install/install.py +++ b/install/install.py @@ -436,7 +436,7 @@ class preFlightsChecks: writeDataToFile.close() if self.remotemysql == 'ON': - command = "sed -i 's|'HOST': 'localhost',|'HOST': '%s',|g' %s" % (self.mysqlhost, path) + command = "sed -i 's|localhost|%s|g' %s" % (self.mysqlhost, path) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) command = "sed -i 's|'USER': 'root',|'USER': '%s',|g' %s" % (self.mysqluser, path)