Update hostname.py

This commit is contained in:
qiaofeng1227 2023-08-26 18:24:53 +08:00 committed by GitHub
parent e0be8f29ee
commit 61e925ada5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
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")