瀏覽代碼

Update hostname.py

qiaofeng1227 1 年之前
父節點
當前提交
61e925ada5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      appmanage/hostname.py

+ 2 - 2
appmanage/hostname.py

@@ -1,5 +1,5 @@
-from websoft9.appmanage.api.utils.log import myLogger
+from api.utils.log import myLogger
 from api.utils import shell_execute
 
 shell_execute.execute_command_output_all("sed -i '/websoft9-appmanage/d' /etc/hosts")
-shell_execute.execute_command_output_all("echo $(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' websoft9-appmanage) websoft9-appmanage >> /etc/hosts")
+shell_execute.execute_command_output_all("echo $(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' websoft9-appmanage) websoft9-appmanage >> /etc/hosts")