Init Install missing plugins or upgrade plugins Hcl2_upgrade transform a JSON template into an HCL2 configuration Import GPG key used in package signing: curl -fsSL | sudo gpg -dearmor -o /etc/apt//hashicorp.gpgĪdd Hashicorp APT repository to your Ubuntu system: sudo apt-add-repository "deb $(lsb_release -cs) main"įinally update package index and install packer: sudo apt updateĪfter installing Packer, verify the installation is working by checking that the packer is available: $ packerĬonsole creates a console for testing variable interpolationįix fixes templates from old versions of packerįmt Rewrites HCL2 config files to canonical format Sudo apt -y install apt-transport-https ca-certificates curl software-properties-common Install basic dependencies: sudo apt update But for us we’ll perform installation from APT repository: Then download the recent version for your platform. This is the one used in this article.įirst, check the latest release of Packer on the Downloads page. The easy and recommended method for all users is binary installation method. Packer may be installed from a precompiled binary or from source.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |