hashicorp / hashicorp/packer-plugin-cloudstack

packer build fails when a template name is provided for the source_template option

未关闭
#59 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
5
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

Documentation for the source_template option in the cloudstack source block at https://developer.hashicorp.com/packer/plugins/builders/cloudstack says that "the **name** or ID of the template used as base template for the instance" is allowed. When using the name of the template, packer returns this error:

Error retrieving UUID of template : No match found for : &{Count:0 Templates:[]}

Only the ID of a template appears to be accepted. Need to be able to specify template name as well.

贡献指南

打开贡献指南

调研方向

从 CloudStack 源块的 source_template 处理开始,并使用模板名称而不是 ID 来复现该失败。当模板名称按文档所述被接受,同时基于 ID 的配置继续正常工作时,此更改即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
cloud
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。