Giter VIP home page Giter VIP logo

vmwareify's Introduction

vmwareify

What is it?

A Go library and application for creating VMWare friendly OVF files.

Use cases

This library makes it possible to create virtual appliances for VirtualBox and VMWare using a single OVF configuration.

For example, the packer automation tool can create VirtualBox and VMWare virtual machine appliances. However, this requires building the same VM twice; once for VirtualBox, and a second time for VMWare. Rather than build the same machine twice, this library allows us to build the VM once (for VirtualBox), and then convert the VirtualBox OVF into a VMWare friendly copy.

Additionally, not all VMWare tools are agnostic to the VirtualBox OVF parameters. Most notably, vSphere will reject VirtualBox OVFs. This library allows us to take an existing VirtualBox OVF, and use it with the more restrictive tools like vSphere.

API

The library provides several public functions for converting an OVF to a VMWare friendly copy. The most notable is the BasicConvert function, which converts an existing OVF into a VMWare friendly file. Here is an example application:

package main

import (
    "log"

    "github.com/stephen-fox/vmwareify"
)

func main() {
    err := vmwareify.BasicConvert("/some.ovf", "/some-vmware.ovf")
    if err != nil {
        log.Fatal("Failed to convert .ovf file - " + err.Error())
    }
}

Application usage

The included application can convert an existing OVF file into a VMWare friendly one like so:

go run cmd/vmwareify/main.go -f /some.ovf
# Creates '/some-vmware.ovf'.

Optionally, you can specify the output file using -o:

go run cmd/vmwareify/main.go -f /some.ovf -o /my-awesome-vmware.ovf

vmwareify's People

Contributors

chrismarget avatar stephen-fox avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vmwareify's Issues

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.