需要安装哪个插件来修复以下错误,

问题描述 投票:0回答:1

我正在尝试执行以下命令,但出现以下错误 请提供相关软件安装以便我验证,谢谢 打包器构建 ubunthu.json

azure packer
1个回答
0
投票

要安装此插件,请将此代码复制并粘贴到您的 Packer 配置中,然后运行

packer init

packer {
  required_plugins {
    azure = {
      source  = "github.com/hashicorp/azure"
      version = "~> 2"
    }
  }
}

或者,您可以使用 packer plugins install 来管理此插件的安装。

packer plugins install github.com/hashicorp/azure

https://developer.hashicorp.com/packer/integrations/hashicorp/azure

© www.soinside.com 2019 - 2024. All rights reserved.