https://github.com/mycloudlab/packer-virtualbox-centos7-demo
Demonstrates how to use packer for build centos7 in virtualbox
https://github.com/mycloudlab/packer-virtualbox-centos7-demo
Last synced: about 1 year ago
JSON representation
Demonstrates how to use packer for build centos7 in virtualbox
- Host: GitHub
- URL: https://github.com/mycloudlab/packer-virtualbox-centos7-demo
- Owner: mycloudlab
- License: apache-2.0
- Created: 2018-04-13T15:27:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-13T18:09:31.000Z (about 8 years ago)
- Last Synced: 2025-02-15T08:19:15.603Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# packer-virtualbox-centos7-demo
This repository demonstrates how to use the packer to build a centos7 image.
**IMPORTANT: Virtualbox should be installed and working.**
## Building
First you need to install the [packer](https://www.packer.io/downloads.html), this can be done as directed for your operating system.
After installation use the command below:
```bash
git clone https://github.com/mycloudlab/packer-virtualbox-centos7-demo
cd packer-virtualbox-centos7-demo
#download packer if not downloaded, works only linux 64
wget https://releases.hashicorp.com/packer/1.2.2/packer_1.2.2_linux_amd64.zip -O packer.zip && unzip packer.zip
# build
./packer build --force centos-7-base.json
```
This will create an image in the output-iso-base directory in vmdk format, just import it into virtualbox and use it.
Password for root user is 'root'.