Skip to content

Commit 2662986

Browse files
committed
Revert "cloudstack-setup-databases: get local address instead of 127.0.1.1"
This reverts commit b1b01a7.
1 parent b1b01a7 commit 2662986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/bindir/cloud-setup-databases.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ for example:
328328
def grabSystemInfo(self):
329329
def getIpAddr():
330330
try:
331-
ip = socket.gethostbyname(socket.gethostname() + ".local")
331+
ip = socket.gethostbyname(socket.gethostname())
332332
return ip
333333
except Exception as e:
334334
return "127.0.0.1"

0 commit comments

Comments
 (0)