Wiki » History » Version 3
Version 2 (Parag Mhashilkar, 09/02/2011 10:02 AM) → Version 3/11 (Parag Mhashilkar, 09/02/2011 10:11 AM)
h1. Documentation
h2. Creating a IFGridftpServerBase Image
OpenNebula specification 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>
Launch a new VM with dynamic IP address.
<pre>
[parag@fcl002 cedps]$ onevm create --verbose IFGridftpServer.one
</pre>
h3. From a new FermiCloud Base Image
h2. Creating a IFGridftpServerBase Image
OpenNebula specification 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>
Launch a new VM with dynamic IP address.
<pre>
[parag@fcl002 cedps]$ onevm create --verbose IFGridftpServer.one
</pre>
h3. From a new FermiCloud Base Image