预安装可在指定根目录下进行

Signed-off-by: 赵晨 <306232627@qq.com>
This commit is contained in:
axiaxixixixi
2024-05-13 16:27:12 +08:00
parent a14474e1b0
commit 4b08c5cb1e
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ class OMCommand():
@staticmethod
def wait_for_normal(logger, user, timeout=300, delta=5):
status_file = "/home/%s/gauss_check_status_%d.dat" % (user, os.getpid())
status_file = os.path.join(os.path.expanduser(f"~{user}"), "gauss_check_status_%d.dat" % os.getpid())
try:
logger.debug("Waiting for cluster status being satisfied.")