Skip to content

Packer template for alpine linux

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-NOTICE.md
Notifications You must be signed in to change notification settings

bobfraser1/packer-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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 replace http/ssh.keys 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.