【问题标题】:CLI - Error when disk parameter is in useCLI - 使用磁盘参数时出错
【发布时间】:2016-04-24 17:22:59
【问题描述】:

所以我在创建softlayer vs 时遇到问题,我尝试从公共图像创建一个vs,但如果我使用--disk 选项会出错。

命令:

vs create -H g0 -D example.org -c 1 -m 2048 -d ams01 --image 3c289880-2f63-48d3-906d-aaa9a822a6d0 --billing=monthly --vlan-public 1313131 --vlan-private 313131 --disk 25 --test 

错误:

SoftLayerAPIError(SoftLayer_Exception_InvalidValue): Invalid value provided for 'blockDevices'. Block devices may not be provided when using an image template.

如果我不使用 --disk 选项,它会很好地创建实例。

【问题讨论】:

    标签: ibm-cloud-infrastructure


    【解决方案1】:

    由于错误表明如果您正在指定图像模板,则无法设置磁盘大小。它会自动设置为与图像模板相同的磁盘大小。

    "使用图像模板时可能不提供块设备"

    【讨论】:

      猜你喜欢
      • 2014-11-29
      • 1970-01-01
      • 2016-06-02
      • 2013-02-01
      • 2020-01-03
      • 1970-01-01
      • 1970-01-01
      • 2021-10-22
      • 2013-04-19
      相关资源
      最近更新 更多