프로젝트
GitHub에서 보기
kaorimatz/packer-templates
소개
Vagrant 베이스 박스용 Packer 템플릿
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalpacker-templates
Packer templates for Vagrant base boxes
Usage
Clone the repository:
$ git clone https://github.com/kaorimatz/packer-templates && cd packer-templates
Build a machine image from the template in the repository:
$ packer build -only=virtualbox-iso archlinux-x86_64.json
Add the built box to Vagrant:
$ vagrant box add archlinux-x86_64 archlinux-x86_64-virtualbox.box
Configuration
You can configure each template to match your requirements by setting the following user variables.
| User Variable | Default Value | Description |
|---|---|---|
compression_level |
6 | Documentation |
cpus |
1 | Number of CPUs |
disk_size |
40000 | Documentation |
headless |
0 | Documentation |
memory |
512 | Memory size in MB |
mirror |
A URL of the mirror where the ISO image is available |
Example
Build an uncompressed Arch Linux vagrant box with a 4GB hard disk using the VirtualBox provider:
$ packer build -only=virtualbox-iso -var compression_level=0 -var disk_size=4000 archlinux-x86_64.json
Pre-built Boxes
You can also use the pre-built boxes hosted on Atlas.
$ vagrant box add kaorimatz/archlinux-x86_64
관련 프로젝트 살펴보기
불러오는 중…