Skip to content

Commit 589f035

Browse files
committed
Updated readme installation section
1 parent 668d33b commit 589f035

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ $ packer init examples/basic_example.pkr.hcl
3636
Installed plugin github.com/upcloudltd/upcloud v1.0.0 in "/Users/johndoe/.packer.d/plugins/github.com/upcloudltd/upcloud/packer-plugin-upcloud_v1.0.0_x5.0_darwin_amd64"
3737
```
3838

39+
After successful plugin installation, you can run the build command:
40+
```sh
41+
$ packer build examples/basic_example.pkr.hcl
42+
43+
...
44+
```
45+
3946
From Packer version 1.7.0, template HCL2 becomes officially the preferred way to write Packer configuration. While the `json` format is still supported, but certain new features, such as `packer init` works only in newer HCL2 format.
4047
If you are using `json` config templates, please consider upgrading them using the packer built-in command:
4148

@@ -45,6 +52,8 @@ Successfully created example.json.pkr.hcl
4552
```
4653

4754

55+
56+
4857
### Pre-built binaries
4958

5059
You can download the pre-built binaries of the plugin from the [GitHub releases page](https://github.com/UpCloudLtd/packer-plugin-upcloud/releases). Just download the archive for your operating system and architecture, unpack it, and place the binary in the appropriate location, e.g. on Linux `~/.packer.d/plugins`. Make sure the file is executable, then install [Packer](https://www.packer.io/).

0 commit comments

Comments
 (0)