Files
one/share/examples/vm.template
T
Constantino Vázquez Blanco 1410db8a4a Changed XEN Driver to take ROOT as mandatory, no BOOT.
Updated examples, configuration and schema.

git-svn-id: http://svn.opennebula.org/trunk@45 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-09 17:24:01 +00:00

39 lines
650 B
Plaintext

#---------------------------------------
# VM definition example
#---------------------------------------
NAME = vm-example
CPU = 0.5
MEMORY = 128
# --- kernel & boot device ---
OS = [
kernel = "/vmlinuz",
initrd = "/initrd.img",
root = "sda1" ]
# --- 2 disks ---
DISK = [
source = "/local/xen/domains/etch/disk.img",
target = "sda1",
readonly = "no" ]
DISK = [
source = "/local/xen/domains/etch/swap.img",
target = "sda2",
readonly = "no" ]
# --- 1 NIC ---
NIC = [ mac="00:ff:72:17:20:27"]
# --- VNC server ---
GRAPHICS = [
type = "vnc",
listen = "127.0.0.1",
port = "5"]