diff --git a/src/downloadService.py b/src/downloadService.py index 5eee6026ad6ca57f6f4a8f47cc42e5dab68ba805..9c20263c7673cef110a952b8b1d2b9fa51835f2d 100644 --- a/src/downloadService.py +++ b/src/downloadService.py @@ -33,7 +33,7 @@ yum makecache self.exe.exec_raw(repo_cmd) def gen_wget_url(self, out_dir='./downloads', url='', filename=''): - head = "wget --no-check-certificate" + head = "source ./init.sh && wget --no-check-certificate" file_path = os.path.join(out_dir, filename) download_url = f'{head} {url} -O {file_path}' return download_url