Skip to content

Commit

Permalink
[build_kvm]: mount /proc to show memory
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <[email protected]>
  • Loading branch information
lguohan committed Apr 17, 2020
1 parent 6f5ac4b commit f1cc577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build_kvm_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1cc577

Please sign in to comment.