From 53313de7dcc8512b2e75ad8bdb5ba5ba2ac32f6c Mon Sep 17 00:00:00 2001 From: gaowei Date: Tue, 5 Mar 2024 07:41:00 +0000 Subject: [PATCH] =?UTF-8?q?bugfix:=20update=20script/step/make=5Fmicrovm?= =?UTF-8?q?=5Fimage.sh.=20`rm=20-rf=20./var/cache/=20./var/lib=20./var/log?= =?UTF-8?q?=20./var/tmp`/var/lib=E7=9B=AE=E5=BD=95=E4=B8=8B=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E4=B8=80=E4=BA=9B=E9=87=8D=E8=A6=81so=E5=BA=93?= =?UTF-8?q?=EF=BC=8C=E8=AF=A5=E5=91=BD=E4=BB=A4=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=9F=90=E4=BA=9B=E5=8A=9F=E8=83=BD=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gaowei --- script/step/make_microvm_image.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/script/step/make_microvm_image.sh b/script/step/make_microvm_image.sh index fd98bbb..0386eff 100644 --- a/script/step/make_microvm_image.sh +++ b/script/step/make_microvm_image.sh @@ -72,7 +72,6 @@ make_micro_rootfs(){ dnf -y --installroot=${rootfs_dir} --noplugins --config="${yum_conf}" install systemd yum iproute iputils pushd ${rootfs_dir} - rm -rf ./var/cache/ ./var/lib ./var/log ./var/tmp touch etc/resolv.conf sed -i 's|root:\*|root:$6$o4rTi3d/.hh6JUYC$ClnCxd2mAQHlt0UloC4ystQg0CiuSVyhXz0sP1mDCNCgWV0rBwegwJ/bCWfjN4WxbahDa7F9U3c6/vFaNgsvX/|' etc/shadow popd -- Gitee