From 97b3556cbc8cd9fe584b2dc27bbce7b313b1a0c5 Mon Sep 17 00:00:00 2001 From: flyflypeng Date: Tue, 27 Jun 2023 20:04:32 +0800 Subject: [PATCH] [vmm]: fix cert_file_path variable in the build scripts reason: use cert_file_path variable to refer the cert file in the build container instead of a contant value. Signed-off-by: flyflypeng --- vmm/scripts/image/centos/build_rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/scripts/image/centos/build_rootfs.sh b/vmm/scripts/image/centos/build_rootfs.sh index dea456c4..56eeda75 100644 --- a/vmm/scripts/image/centos/build_rootfs.sh +++ b/vmm/scripts/image/centos/build_rootfs.sh @@ -40,7 +40,7 @@ make_vmm_task() { # update cert file under internal proxy scenario if [ -f "${cert_file_path}" ]; then - cp /kuasar/huawei.crt /etc/pki/ca-trust/source/anchors/ + cp ${cert_file_path} /etc/pki/ca-trust/source/anchors/ update-ca-trust extract fi