Module: OmfRc::Util::Vmbuilder

Includes:
ResourceProxyDSL
Defined in:
omf_rc/lib/omf_rc/util/vmbuilder.rb

Overview

This module defines the command specifics to build a VM image using the vmbuilder tool

Utility dependencies: common_tools

See Also:

Constant Summary

VMBUILDER =
"/usr/bin/vmbuilder"
VMBUILDER_DEFAULT =
Hashie::Mash.new({
cpus: 1, mem: 512,
rootsize: 20000, overwrite: true,
ip: nil, mask: nil, net: nil, bcast: nil, 
gw: nil, dns: nil 
})
UBUNTU_DEFAULT =
Hashie::Mash.new({ 
suite: 'natty', arch: 'i386',
user: 'administrator', pass: 'omf',
mirror: 'http://10.0.0.200:9999/ubuntu',
#mirror: 'http://au.archive.ubuntu.com/ubuntu/',
bridge: nil,
#variant: 'minbase',
#pkg: ['openssh-server'] 
#pkg: ['openssh-server','sudo','inetutils-ping','host',
#      'net-tools','vim','gpgv'] 
pkg: ['openssh-server','sudo','inetutils-ping','host',
      'net-tools','vim','gpgv',
      'build-essential','automake', 'curl',
      'zlib1g-dev','libxslt-dev','libxml2-dev',
      'libssl-dev','iw'] 
})

Constants included from ResourceProxyDSL

ResourceProxyDSL::DEFAULT_PROP_ACCESS, ResourceProxyDSL::PROXY_DIR, ResourceProxyDSL::UTIL_DIR

Method Summary

Methods included from ResourceProxyDSL

#call_hook, #hook_defined?, included