Project

General

Profile

Wiki » History » Version 2

« Previous - Version 2/11 (diff) - Next » - Current version
Parag Mhashilkar, 09/02/2011 10:02 AM


Documentation

Creating a IFGridftpServerBase Image

OpenNebula specification file used for Base Image creation is as follows

NAME   = IFGridftpServerBase
CPU    = 1
VCPU   = 2
MEMORY = 2048

DISK   = [
           source   = /cloud/images/OpenNebula/images/current-image.img,
           save     = yes,
           target   = vda,
           bus = virtio,
           persistent = yes,
           readonly = no
         ]

DISK   = [
  type     = swap,
  size     = 2048,
  target   = vdb ]

NIC    = [ NETWORK = "FermiCloud" ]

FEATURES=[ acpi="no" ]

GRAPHICS = [
  type    = "vnc",
  listen  = "127.0.0.1",
  port    = "-1",
  autoport = "yes",
  keymap = "en-us"]

CONTEXT = [
    ip_public   = "$NIC[IP, NETWORK=\"FermiCloud\"]",
    netmask     = "255.255.254.0",
    gateway     = "131.225.154.1",
    ns          = "131.225.8.120",
    files       = "/cloud/images/OpenNebula/templates/init.sh /home/parag/OpenNebula/cedps/k5login",
    target      = "hdc",
    root_pubkey = "id_dsa.pub",
    username    = "opennebula",
    user_pubkey = "id_dsa.pub" 
]

From a new FermiCloud Base Image