Skip to content

Commit a796570

Browse files
Rajakavitha1jddocs
andauthored
[Update] Using the Linode Packer Builder to Create Custom Images (#7231)
* [Update] Using the Linode Packer Builder to Create Custom Images * Update index.md * copy edit, code black format change, modified date edited --------- Co-authored-by: jddocs <[email protected]>
1 parent de9b3f6 commit a796570

File tree

1 file changed

+9
-1
lines changed
  • docs/guides/applications/configuration-management/packer/how-to-use-linode-packer-builder

1 file changed

+9
-1
lines changed

docs/guides/applications/configuration-management/packer/how-to-use-linode-packer-builder/index.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Packer is a HashiCorp maintained open source tool for creating mac
66
authors: ["Linode"]
77
contributors: ["Linode"]
88
published: 2019-11-12
9-
modified: 2021-05-21
9+
modified: 2025-04-03
1010
keywords: ['packer hashicorp','hashicorp packer','image','machine image','immutable infrastructure','continuous delivery','ansible','ansible playbook','hashicorp terraform','hashicorp']
1111
tags: ["automation"]
1212
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
@@ -68,6 +68,14 @@ To install Packer on Mac, [Homebrew](https://brew.sh/) will be used. Run the fol
6868

6969
Verify that Packer was successfully installed by running the command `packer --version`. This should output the version number for this installation of Packer. For reference, this guide was last tested using version 1.7.2.
7070

71+
### Install the Linode Plugin
72+
73+
Install the `Linode` [plugin](https://developer.hashicorp.com/packer/integrations/linode/linode) so that Packer can interact with Linode instances.
74+
75+
```command
76+
packer plugins install github.com/linode/linode
77+
```
78+
7179
## Constructing a Template for Packer
7280

7381
Now that Packer is installed, you can make a Packer [template](https://www.packer.io/docs/templates). A template is a file that contains the configurations needed to build a machine image. A template can be formatted in [JSON](https://www.packer.io/docs/templates/legacy_json_templates) or [HCL2](https://www.packer.io/docs/templates/hcl_templates) (Hashicorp Configuration Language). As of Packer v1.7.0, the HCL2 template format is preferred and, as such, will be used in the examples within this guide.

0 commit comments

Comments
 (0)