Project

General

Profile

Wiki » History » Version 2

Parag Mhashilkar, 09/02/2011 10:02 AM

1 1 Parag Mhashilkar
h1. Documentation
2 1 Parag Mhashilkar
3 1 Parag Mhashilkar
h2. Creating a IFGridftpServerBase Image
4 1 Parag Mhashilkar
5 2 Parag Mhashilkar
OpenNebula specification file used for Base Image creation is as follows
6 2 Parag Mhashilkar
7 2 Parag Mhashilkar
<pre>
8 2 Parag Mhashilkar
NAME   = IFGridftpServerBase
9 2 Parag Mhashilkar
CPU    = 1
10 2 Parag Mhashilkar
VCPU   = 2
11 2 Parag Mhashilkar
MEMORY = 2048
12 2 Parag Mhashilkar
13 2 Parag Mhashilkar
DISK   = [
14 2 Parag Mhashilkar
           source   = /cloud/images/OpenNebula/images/current-image.img,
15 2 Parag Mhashilkar
           save     = yes,
16 2 Parag Mhashilkar
           target   = vda,
17 2 Parag Mhashilkar
           bus = virtio,
18 2 Parag Mhashilkar
           persistent = yes,
19 2 Parag Mhashilkar
           readonly = no
20 2 Parag Mhashilkar
         ]
21 2 Parag Mhashilkar
22 2 Parag Mhashilkar
DISK   = [
23 2 Parag Mhashilkar
  type     = swap,
24 2 Parag Mhashilkar
  size     = 2048,
25 2 Parag Mhashilkar
  target   = vdb ]
26 2 Parag Mhashilkar
27 2 Parag Mhashilkar
NIC    = [ NETWORK = "FermiCloud" ]
28 2 Parag Mhashilkar
29 2 Parag Mhashilkar
FEATURES=[ acpi="no" ]
30 2 Parag Mhashilkar
31 2 Parag Mhashilkar
GRAPHICS = [
32 2 Parag Mhashilkar
  type    = "vnc",
33 2 Parag Mhashilkar
  listen  = "127.0.0.1",
34 2 Parag Mhashilkar
  port    = "-1",
35 2 Parag Mhashilkar
  autoport = "yes",
36 2 Parag Mhashilkar
  keymap = "en-us"]
37 2 Parag Mhashilkar
38 2 Parag Mhashilkar
39 2 Parag Mhashilkar
CONTEXT = [
40 2 Parag Mhashilkar
    ip_public   = "$NIC[IP, NETWORK=\"FermiCloud\"]",
41 2 Parag Mhashilkar
    netmask     = "255.255.254.0",
42 2 Parag Mhashilkar
    gateway     = "131.225.154.1",
43 2 Parag Mhashilkar
    ns          = "131.225.8.120",
44 2 Parag Mhashilkar
    files       = "/cloud/images/OpenNebula/templates/init.sh /home/parag/OpenNebula/cedps/k5login",
45 2 Parag Mhashilkar
    target      = "hdc",
46 2 Parag Mhashilkar
    root_pubkey = "id_dsa.pub",
47 2 Parag Mhashilkar
    username    = "opennebula",
48 2 Parag Mhashilkar
    user_pubkey = "id_dsa.pub"
49 2 Parag Mhashilkar
]
50 2 Parag Mhashilkar
</pre>
51 2 Parag Mhashilkar
52 2 Parag Mhashilkar
53 1 Parag Mhashilkar
54 1 Parag Mhashilkar
h3. From a new FermiCloud Base Image