diff --git a/virt-install-cloud.sh b/virt-install-cloud.sh index b3a5c95..61ff586 100755 --- a/virt-install-cloud.sh +++ b/virt-install-cloud.sh @@ -30,7 +30,7 @@ usage() { echo -e "\t-n hostname *" echo -e "\t-d domainame *" echo -e "\t-s disk size (num + count size - M=Megabytes G=Gigabytes) *" - echo -e "\t-r ram size (in kilobytes) *" + echo -e "\t-r ram size (in megabytes) *" echo -e "\t-c number of vcpus" echo -e "\t-b bridge to attach to *" echo -e "\t-i distribution to use (see script for supported options) - default is stretch" @@ -157,7 +157,7 @@ echo "Creating guest ${hostname}.${domain}..." virt-install \ --name ${hostname}.${domain} \ --cpu host \ - --ram ${ram} \ + --memory ${ram} \ --vcpus=${cpucount} \ --noautoconsole \ --graphics spice \