This is a HashiCorp Packer plugin for creating Huawei Cloud ECS image.
Clone repository to $GOPATH/src/github.com/huaweicloud/packer-builder-huaweicloud-ecs
$ mkdir -p $GOPATH/src/github.com/huaweicloud; cd $GOPATH/src/github.com/huaweicloud
$ git clone git@github.com:huaweicloud/packer-builder-huaweicloud-ecs.git
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/huaweicloud/packer-builder-huaweicloud-ecs
$ make build
Link the build to Packer
$ln -s $GOPATH/bin/packer-builder-huaweicloud-ecs ~/.packer.d/plugins/packer-builder-huaweicloud-ecs
- Download binaries from the releases page.
- Install the plugin, or simply put it into the same directory with JSON templates.
- Move the downloaded binary to
~/.packer.d/plugins/
See the Huawei Cloud ECS Provider documentation to get started.