ustcweizhou commented on issue #3371: Fix template size for managed storage / 
refactor cloud-install-sys-tmplt and createtmplt.sh
URL: https://github.com/apache/cloudstack/pull/3371#issuecomment-501699613
 
 
   @svenvogel 
   I tested in my testing environment. it can be fixed by
   ```
   root@s-158-VM:~# diff -u 
/usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh 
/usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh.new
   --- /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh  
2019-06-13 11:34:00.119649777 +0000
   +++ /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh.new   
   2019-06-13 13:15:11.475953400 +0000
   @@ -112,7 +112,7 @@
    fi
   
    OPTERR=0
   -while getopts 't:n:f:' OPTION
   +while getopts 'vuht:n:f:s:c:d:S:' OPTION
    do
      case $OPTION in
      t)   tflag=1
   @@ -124,9 +124,6 @@
      f)   fflag=1
                   tmpltimg="$OPTARG"
                   ;;
   -  ?)   usage
   -               exit 2
   -               ;;
      esac
    done
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to