1. onevm(1)
  2. onevm(1) -- manages OpenNebula virtual machines
  3. onevm(1)




onevm command [args] [options]


 -m, --multiple x          Instance multiple VMs
 --hold                    Creates the new VM on hold state instead of
 --name name               Name for the new VM
 --cpu cpu                 CPU percentage reserved for the VM (1=100% one
 --vcpu vcpu               Number of virtualized CPUs
 --arch arch               Architecture of the VM, e.g.: i386 or x86_64
 --memory memory           Memory amount given to the VM. By default the
                           unit is megabytes. To use gigabytes add a 'g',
                           floats can be used: 8g=8192, 0.5g=512
 --disk image0,image1      Disks to attach. To use an image owned by other
                           user use user[disk]
 --nic network0,network1   Networks to attach. To use a network owned by
                           other user use user[network]
 --raw string              Raw string to add to the template. Not to be
                           confused with the RAW attribute
 --vnc                     Add VNC server to the VM
 --vnc-password password   VNC password
 --vnc-listen ip           VNC IP where to listen for connections. By
                           default is (all interfaces).
 --spice                   Add spice server to the VM
 --spice-password password spice password
 --spice-listen ip         spice IP where to listen for connections. By
                           default is (all interfaces).
 --ssh [file]              Add an ssh public key to the context. If the file
                           is omited then the user variable SSH_PUBLIC_KEY
                           will be used.
 --net_context             Add network contextualization parameters
 --context line1,line2,line3 Lines to add to the context section
 --boot device             Select boot device (hd|fd|cdrom|network)
 --files_ds file1,file2    Add files to the contextualization CD from
                           thefiles datastore
 --init script1,script2    Script or scripts to start in context
 --dry                     Just print the template
 -a, --append              Append new attributes to the current template
 --schedule TIME           Schedules this action to be executed afterthe
                           given time. For example: onevm resume 0
                           --schedule "09/23 14:15"
 --recreate                Resubmits a fresh VM
 -t, --type type           Type of the new Image
 --live                    Do the action with the VM running
 --hard                    Does not communicate with the guest OS
 -e, --enforce             Enforce that the host capacity is not exceeded
 --success                 Recover a VM by succeeding the pending action
 --failure                 Recover a VM by failing the pending action
 -f, --file file           Selects the template file
 -i, --image id|name       Selects the image
 -t, --target target       Device where the image will be attached
 --cache cache_mode        Hypervisor cache mode: default, none,
                           writethrough, writeback, directsync or unsafe.
                           (Only KVM driver)
 -n, --network id|name     Selects the virtual network
 -i, --ip ip               IP address for the new NIC
 -l, --list x,y,z          Selects columns to display with list command
 -d, --delay x             Sets the delay in seconds for top command
 -f, --filter x,y,z        Filter data. An array is specified with
                           column=value pairs.
 -x, --xml                 Show the resource in xml format
 -n, --numeric             Do not translate user and group IDs
 -k, --kilobytes           Show units in kilobytes
 --describe                Describe list columns
 --all                     Show all template data
 -v, --verbose             Verbose mode
 -h, --help                Show this message
 -V, --version             Show version and copyright information
 --user name               User name used to connect to OpenNebula
 --password password       Password to authenticate with OpenNebula
 --endpoint endpoint       URL of OpenNebula xmlrpc frontend




OpenNebula 4.4.0 Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

  1. November 2013
  2. onevm(1)