Resource Type: onevm

Defined in:
lib/puppet/type/onevm.rb
Providers:
onevm

Overview

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • context

    Pass context hash to vm.

  • cpu
  • disks

    Array of disk definitions.

  • graphics_keymap

    keyboard configuration locale to use in the VNC display

  • graphics_listen (defaults to: 127.0.0.1)

    IP to listen on.

  • graphics_passwd

    VNC password.

  • graphics_port

    Port for the VNC server. If left empty this is automatically set.

  • graphics_type (defaults to: vnc)

    Graphics type - vnc or sdl

  • memory

    Memory allocation for VM in megabytes.

  • name (namevar)

    Name of virtual machine.

  • nics

    Array of nic definitions.

  • os_arch

    CPU architecture.

  • os_boot

    Boot device type: hd,fd,cdrom,network

  • os_bootloader

    Path to the bootloader executable.

  • os_initrd

    Path to the initrd image.

  • os_kernel

    Path to the OS kernel to boot the image. Required in Xen.

  • os_kernel_cmd

    Arguments for the booting kernel.

  • os_root

    Device to be mounted as root.

  • provider

    The specific backend to use for this ‘onevm` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • vcpu

    Virtual CPUs