Giter Club home page Giter Club logo

packer-esxi's Introduction

Example Packer template and Vagrant box for VMware ESXi images

This repository contains a Packer template for building ESXi 5.5 machine images and a Vagrant box example.

Requirements

  • MacOSX with VMware Fusion or Linux with VMware Workstation

  • Packer

  • Vagrant

  • Vagrant plugin for Fusion or Workstation

  • VMware-VMvisor-Installer-5.5.0.update01-1623387.x86_64.iso

Packer image builder

You'll need a copy of VMware-VMvisor-Installer-5.5.0.update01-1623387.x86_64.iso in this directory, or add a valid url to iso_urls in template.json.

To build the image, run the following:

``` $ packer build template.json ```

While ESXi is installing, the console can be accessed using noVNC. The port can also be changed with the RemoteDisplay.vnc.webSocket.port property in template.json.

Vagrant box example

Install the vagrant plugin for VMware ESXi guest support:

``` $ vagrant plugin install vagrant-esxi ```

The packer build created a Vagrant box named vmware_esxi55.box in this directory. To bring up an instance of this box, run the following:

``` $ vagrant up --provider=vmware_fusion ```

The provision.sh script is run within the ESXi VM and changes /etc/motd with the vagrant version sourced from this directory over NFS:

``` $ vagrant ssh Welcome to VMware ESXi 5.5.0, up'd by Vagrant 1.3.4 ```

The same noVNC url above can used to view the console:

ESXi console

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.