[build_kvm]: mount /proc to show memory

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2020-02-08 02:38:04 +00:00
parent 6f5ac4b282
commit f1cc577c75

View File

@ -51,6 +51,7 @@ create_disk
prepare_installer_disk
echo "Prepare memory for KVM build: $vs_build_prepare_mem"
sudo mount proc /proc -t proc || true
free -m
if [[ "$vs_build_prepare_mem" == "yes" ]]; then
# Force o.s. to drop cache and compact memory so that KVM can get 2G memory