Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lupin3000/packer
Packer files to build vagrant boxes (Virtualbox)
https://github.com/lupin3000/packer
packer vagrant virtualbox
Last synced: 3 days ago
JSON representation
Packer files to build vagrant boxes (Virtualbox)
- Host: GitHub
- URL: https://github.com/lupin3000/packer
- Owner: Lupin3000
- Created: 2016-09-26T15:56:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-15T09:59:17.000Z (over 6 years ago)
- Last Synced: 2024-11-28T01:30:08.803Z (2 months ago)
- Topics: packer, vagrant, virtualbox
- Language: Shell
- Homepage: softwaretester.info
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Packer repository
... build some Vagrant base boxes for VirtualBox ...
## Requirements
* [VirtualBox](https://www.virtualbox.org)
* [Vagrant](https://www.vagrantup.com)
* [Packer](https://www.packer.io)## Additional Information
2 users are created for every vagrant box. There are users root (pw:toor) and vagrant (pw:vagrant). Public key for vagrant can be found [here](https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub).
## How-to
### Example build vagrant box
```shell
# clone repository
$ git clone https://github.com/Lupin3000/Packer.git# change directory
$ cd Packer/Alpine-3.4# build via packer
$ packer build packer.json
```### Example add box
This is when you like to go with default way...
```shell
# list current vagrant boxes (optional)
$ vagrant box list# add new created box
$ vagrant box add lupin/debian9 target/virtualbox-Debian-9.box# create directory
$ mkdir -p ~/Projects/Debian9 && cd ~/Projects/Debian9# init with specific box
$ vagrant init lupin/debian9
```### Example use Vagrantfile
This is when you are in development mode...
```shell
# change back to root directory
$ cd ..# edit Vagrantfile (add missing values)
$ vim Vagrantfile# run environment via vagrant
$ vagrant up
```