From 6c12a950a4b792a1db98b1547c09d40e2b3a6383 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 6 Aug 2019 01:31:51 +0200 Subject: [PATCH] fix server_ip --- wo/cli/plugins/stack_pref.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 06bb82f..3726783 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -550,9 +550,8 @@ def post_pref(self, apt_packages, packages): WOGit.add(self, ["/etc/nginx"], msg="Adding Nginx into Git") WOService.reload_service(self, 'nginx') - + server_ip = requests.get('http://v4.wordops.eu') if set(["nginx"]).issubset(set(apt_packages)): - server_ip = requests.get('http://v4.wordops.eu') print("WordOps backend configuration was successful\n" "You can access it on : https://{0}:22222" .format(server_ip))