Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobfraser1/packer-alpine
Packer template for alpine linux
https://github.com/bobfraser1/packer-alpine
alpine-linux packer vagrant
Last synced: about 2 months ago
JSON representation
Packer template for alpine linux
- Host: GitHub
- URL: https://github.com/bobfraser1/packer-alpine
- Owner: bobfraser1
- License: apache-2.0
- Created: 2020-07-29T22:48:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-14T20:33:55.000Z (over 2 years ago)
- Last Synced: 2023-08-18T13:34:40.926Z (over 1 year ago)
- Topics: alpine-linux, packer, vagrant
- Homepage:
- Size: 16.6 KB
- Stars: 21
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# packer-alpine
Packer template for alpine linux
Build a virtual machine image for [Alpine linux](https://www.alpinelinux.org) using [Packer](https://www.packer.io).
packer build alpine.json
This Packer template will build a [VirtualBox](https://www.virtualbox.org) 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](https://github.com/hashicorp/vagrant/tree/master/keys) 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](https://vagrantup.com) is not required to build the image. However, the image can easily be turned into a [Vagrant Base Box](https://www.vagrantup.com/docs/boxes/base). See the [vagrant](vagrant/README.md) section for more details.
These Vagrant boxes are also available on [Vagrant Cloud](https://app.vagrantup.com/bobfraser1).