【发布时间】:2014-03-28 01:50:23
【问题描述】:
我在 shell 脚本中使用gcutil,如下所示
gcutil deleteinstance --[no]delete_boot_pd: <instance-name>
错误信息是:
FATAL Flags parsing error: Unknown command line flag '[no]delete_boot_pd:'
我尝试了上述命令的多种组合,但它不起作用。我要做的就是确保 deleteinstance 不会删除永久磁盘,同时不会让 shell 脚本停止以供用户输入。
有人可以帮我找到使用该命令的正确方法吗? 文档是here。
【问题讨论】:
标签: shell google-compute-engine gcutil