Project

General

Profile

Wiki » History » Version 2

Version 1 (Parag Mhashilkar, 09/02/2011 09:50 AM) → Version 2/11 (Parag Mhashilkar, 09/02/2011 10:02 AM)

h1. Documentation

h2. Creating a IFGridftpServerBase Image

OpenNebula specification h3. From existing IFGridftpServer image file used for Base Image creation is as follows

<pre>
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"
]
</pre>

h3. From a new FermiCloud Base Image