Skip to content

Commit

Permalink
help: --autorecovery also available on KVM now.
Browse files Browse the repository at this point in the history
It worked before, but adjust the help text.
  • Loading branch information
Kurt Garloff committed Nov 27, 2018
1 parent 7331440 commit ec3c940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ ecsHelp()
echo " --az <AZ> # determined from subnet by default"
echo " --tags KEY=[VAL][,KEY=VAL[,...]]# add key-value pairs as tags"
echo " --inherit-tags # tag created rootdisk as well"
echo " --autorecovery true/false # set autorecovery (Xen only)"
echo " --autorecovery true/false # set autorecovery"
echo " --[no]wait"
echo "otc ecs create2 # create vm with v2 API (same params, incomplete)"
echo
Expand Down Expand Up @@ -6733,7 +6733,7 @@ if [ "${SUBCOM:0:6}" == "create" -o "$SUBCOM" == "addlistener" -o "${SUBCOM:0:6}
SCSI=1;;
--datadisks)
DATADISKS="$2"; shift;;
--autorecovery)
--autorecovery|--auto-recovery)
AUTORECOV="$(echo $2 | tr 'A-Z' 'a-z')"; shift;;
--tags)
TAGS="$2"; shift
Expand Down

0 comments on commit ec3c940

Please sign in to comment.