Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant-and-packer.md NEEDS TO BE UPDATED. #6

Open
iampaarsaa opened this issue Jan 21, 2024 · 1 comment
Open

vagrant-and-packer.md NEEDS TO BE UPDATED. #6

iampaarsaa opened this issue Jan 21, 2024 · 1 comment

Comments

@iampaarsaa
Copy link

Vagrant & Packer

Source: Vagrant Official Docs.
https://developer.hashicorp.com/vagrant/install#Linux

Step 1:

wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg

Step 2:

echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list

Step 3:

For Vagrant:

sudo apt update && sudo apt install vagrant

For Packer:

sudo apt update && sudo apt install packer

Packer / Bento

Source: Bento Official Repo. - README
https://github.com/chef/bento/blob/main/README.md#using-packer

Step 1:

git clone https://github.com/chef/bento.git

Step 2:

<path/to> Is Wherever You Cloned Bento Repository.

cd <path/to>/bento

Step 3:

This Might Take Several Minutes, Wait ...

packer init -upgrade ./packer_templates

Step 4:

This Might Take Several Minutes, Wait ...

packer build -only=virtualbox-iso.vm -var-file=os_pkrvars/ubuntu/ubuntu-22.04-x86_64.pkrvars.hcl ./packer_templates
@iampaarsaa iampaarsaa changed the title "/vagrant/vagrant-and-packer.md" NEEDS TO BE UPDATED. "vagrant-and-packer.md" NEEDS TO BE UPDATED. Jan 21, 2024
@iampaarsaa iampaarsaa changed the title "vagrant-and-packer.md" NEEDS TO BE UPDATED. vagrant-and-packer.md NEEDS TO BE UPDATED. Jan 21, 2024
@H0sin
Copy link

H0sin commented May 19, 2024

tnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants