diff --git a/script/step/make_microvm_image.sh b/script/step/make_microvm_image.sh index fd98bbb42b7a242698f4c8390bb892988b3ffb64..0386effda311ed5739b41deefb9278dc93dde4df 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