convert OVF vm packages to smartos compatible images
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin TOOLS-607 I for one, welcome my new open source license Aug 25, 2014
deps TOOLS-338: TMPDIR in Makefile breaks jsl build Sep 23, 2014
doc TOOLS-607 I for one, welcome my new open source license Aug 25, 2014
lib
node_modules
tools drop git.jo refs for repo-status check Sep 24, 2014
.gitmodules Update modules Mar 16, 2012
LICENSE TOOLS-607 I for one, welcome my new open source license Aug 25, 2014
Makefile TOOLS-338: TMPDIR in Makefile breaks jsl build Sep 23, 2014
README.md TOOLS-670: update README.md Sep 25, 2014
package.json TOOLS-607 I for one, welcome my new open source license Aug 25, 2014

README.md

convertvm

This repository is part of the Joyent SmartDataCenter project (SDC). For contribution guidelines, issues, and general documentation, visit the main SDC project page.

NAME

convertvm - Convert VM images into Smart Datacenter dataset manifests.

SYNOPSIS

convertvm [-dhnouv] inputvm.ovf-directory

DESCRIPTION

Virtual Machine images may be represented by various formats. convertvm takes as input a VM (virtual machine) or VA (or virtual appliace) and can output a binary dataset that can be imported into SDC (Smart Data Center).

convertvm accepts as input OVF (Open Virtualization Format) files. It outputs a .dsmanifest and .zfs.bz2 file to the output-directory specified at invocation.

OPTIONS

General options

-a/--assets-url <assets-url>
     Set the location where this dataset's file will be available.
     (ie. http://10.99.99.6/datasets/)

Dataset Override Options

-n/--ds-manifest <name>
     (Mandatory): Set the dataset name. (ie. myvm)

-o/--ds-os <os>
     (Mandatory): Set the dataset operating system. (ie. linux, windows, smartos, etc.)

-v/--ds-version <version>
     Set the dataset version. (ie. 1.0.0)

-d/--ds-description <description>
     Set the dataset description. Maximum of 256 characters.

-N/--ds-nic-driver <pcnet|e1000|...>
     Set the nic driver.

-D/--ds-disk-driver <virtio|ide|...>
     Set the dataset disk driver

CAVEATS

  • Only OVF-1.0 is supported.
  • Only one VM per OVF file is supported.
  • Only one Disk per OVF VM is supported.

REFERENCES

LICENSE

MPL-2.0 (See LICENSE file)