Browse Source

fix: add missing getopts flag for new arch param (#81)

pull/82/head 1.0.1
Giovanni Torres 8 months ago committed by GitHub
parent
commit
879974377c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      kvm-install-vm

4
kvm-install-vm

@ -758,11 +758,11 @@ function list_available_vms() {
function create ()
{
# Parse command line arguments
while getopts ":b:c:d:D:f:g:i:k:l:L:m:M:p:s:t:T:u:ahynv" opt
while getopts ":A:b:c:d:D:f:g:i:k:l:L:m:M:p:s:t:T:u:ahynv" opt
do
case "$opt" in
a ) AUTOSTART="${OPTARG}" ;;
A ) ARCH="$(OPTARG)" ;;
A ) ARCH="${OPTARG}" ;;
b ) BRIDGE="${OPTARG}" ;;
c ) CPUS="${OPTARG}" ;;
d ) DISK_SIZE="${OPTARG}" ;;

Loading…
Cancel
Save