Merge pull request #926 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-server-list-os-type to release/2.5.0

* commit '05a69ac0be41c41e0c5583fa71df647087daae09':
  add os-type list filter
This commit is contained in:
万垚奇
2019-01-15 10:43:21 +08:00
+1
View File
@@ -22,6 +22,7 @@ type ServerListOptions struct {
Region string `help:"Show servers in cloudregion"`
WithEip *bool `help:"Show Servers with EIP"`
WithoutEip *bool `help:"Show Servers without EIP"`
OsType string `help:"OS Type" choices:"linux|windows|vmware"`
ResourceType string `help:"Resource type" choices:"shared|prepaid|dedicated"`