Skip to content

prakash-kumard/packer-ubuntu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer Build For Ubuntu

This repository includes a Packer build script for creating Ubuntu boxes for Vagrant.

Boxes built with this build script are published at atlas.hashicorp.com.

Supported Providers

  • Virtualbox
  • VMWare Desktop/Workstation/Fusion

Quick Start

$ packer build ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: packer_virtualbox-iso_virtualbox.box
--> vmware-iso: 'vmware' provider box: packer_vmware-iso_vmware.box 

Build a single provider:

$ packer build --only=virtualbox-iso ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> virtualbox-iso: 'virtualbox' provider box: packer_virtualbox-iso_virtualbox.box
$ packer build --only=vmware-iso ubuntu1404.json
...
...
==> Builds finished. The artifacts of successful builds are:
--> vmware-iso: 'vmware' provider box: packer_vmware-iso_vmware.box 

To import a built box into Vagrant:

$ vagrant box add --name=cloudhotspot/ubuntu <box-file>

About

Packer Build for Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%