From e9a717363518be7b5ecd257b9971f275e825b7c7 Mon Sep 17 00:00:00 2001 From: gaowei Date: Thu, 18 Feb 2021 11:03:00 +0800 Subject: [PATCH] microvm_image: rejust yum package for net command in microvm_image rootfs. --- script/step/make_microvm_image.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/step/make_microvm_image.sh b/script/step/make_microvm_image.sh index 9c8e3bc..9d3fa92 100644 --- a/script/step/make_microvm_image.sh +++ b/script/step/make_microvm_image.sh @@ -48,6 +48,10 @@ prepare_rootfs(){ mkdir -p ${img_dir} fi + yum clean all -c "${yum_conf}" + yum makecache -c "${yum_conf}" + yum install iproute iputils -y -c "${yum_conf}" + set +e os_release_name=${OS_NAME}-release set -e -- Gitee