Giter Club home page Giter Club logo

packer-esxi's Introduction

packer-esxi

A set of example Packer templates for building Debian and Ubuntu boxes on VMware ESXi. These are built on the remote ESXi host, then shut down and left registered. A lot of this work comes out of boxes, which provides the basic template formation.

They assume that it's possible to fetch an IP through DHCP on the primary (VM Network) network. If this isn't the case, you can adjust the boot command to set a static IP.

This example repo comes out of this post I wrote on how to use Packer with VMware ESXi.

Usage

packer build -var-file variables.json ubuntu-1604-base.json

Ensure that variables.json contains valid values.

Author

Copyright (c) 2016 Nick Charlton. MIT Licensed.

packer-esxi's People

Contributors

bish0polis avatar nickcharlton avatar thenotary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packer-esxi's Issues

I am getting vnc error

docker@Docker1:~/esxi/packer-esxi$ packer build -var-file variables.json ubuntu-1604-base.json
ubuntu-1604-base output will be in this color.

==> ubuntu-1604-base: Downloading or copying ISO
ubuntu-1604-base: Found already downloaded, initial checksum matched, no download needed: http://releases.ubuntu.com/xenial/ubuntu-16.04.5-server-amd64.iso
==> ubuntu-1604-base: Creating floppy disk...
ubuntu-1604-base: Copying files flatly from floppy_files
ubuntu-1604-base: Copying file: preseed/ubuntu.cfg
ubuntu-1604-base: Done copying files from floppy_files
ubuntu-1604-base: Collecting paths from floppy_dirs
ubuntu-1604-base: Resulting paths from floppy_dirs : []
ubuntu-1604-base: Done copying paths from floppy_dirs
==> ubuntu-1604-base: Uploading Floppy to remote machine...
==> ubuntu-1604-base: Uploading ISO to remote machine...
==> ubuntu-1604-base: Creating required virtual machine disks
==> ubuntu-1604-base: Building and writing VMX file
==> ubuntu-1604-base: Registering remote VM...
==> ubuntu-1604-base: Starting virtual machine...
==> ubuntu-1604-base: Waiting 10s for boot...
==> ubuntu-1604-base: Connecting to VM via VNC (172.25.2.151:5900)
==> ubuntu-1604-base: Error handshaking with VNC: no suitable auth schemes found. server supported: []byte{0x1}
==> ubuntu-1604-base: Stopping virtual machine...
==> ubuntu-1604-base: Destroying virtual machine...
Build 'ubuntu-1604-base' errored: Error handshaking with VNC: no suitable auth schemes found. server supported: []byte{0x1}

==> Some builds didn't complete successfully and had errors:
--> ubuntu-1604-base: Error handshaking with VNC: no suitable auth schemes found. server supported: []byte{0x1}

==> Builds finished but no artifacts were created.
docker@Docker1:~/esxi/packer-esxi$

Ubuntu 18.04 and 20.04?

Do you have any interest in adding Ubuntu 18.04 and 20.04 support? How difficult is this if I wanted to contribute that?

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.