Skip to content

tfoks/packer-alpine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-alpine

Packer template for alpine linux

Build a virtual machine image for Alpine linux using Packer.

packer build alpine.json

This Packer template will build a VirtualBox VM (OVA) from an Alpine ISO image. Networking is configured for DHCP and an SSH user is created (default vagrant password vagrant) with sudo privileges.

Security Note: The Vagrant insecure public key has been added. You can override ssh_key to provide your own secure ssh key.

You can customize this login

packer build -var=ssh_username=youruser -var=ssh_password=yourpassword

Further customization is possible by overriding other variables, or editing alpine.json or http/answers.

Vagrant Support

Vagrant is not required to build the image. However, the image can easily be turned into a Vagrant Base Box. See the vagrant section for more details.

These Vagrant boxes are also available on Vagrant Cloud.

About

Packer template for alpine linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%