<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi everybody,<br>
i'm trying to use contextualization to pass file to my VMs.<br>
After <br>
<pre>onevm create ubuTest.one
</pre>
where ubuTest.one is:<br>
<br>
<small><font face="Courier New, Courier, monospace">NAME = "ubu1"<br>
CPU =0.1<br>
VCPU = 1<br>
MEMORY = 256<br>
NIC = [NETWORK="VEP public network"]<br>
DISK = [IMAGE="ubuntuServer"]<br>
OS = [ boot="hd", arch="x86_64" ]<br>
GRAPHICS = [<br>
type="vnc",<br>
listen="localhost"<br>
]<br>
CONTEXT=[<br>
files="/srv/kvm-images/filippoContrail/one/ubuTest.one"<br>
]<br>
<big><font face="sans-serif"><br>
I check the VM with <br>
<br>
</font></big>onevm show <VM-id><br>
<big><font face="sans-serif"><br>
and i get:</font></big><br>
<br>
VIRTUAL MACHINE 299
INFORMATION <br>
ID : 299 <br>
NAME : ubu1 <br>
STATE : ACTIVE <br>
LCM_STATE : RUNNING <br>
START TIME : 11/02 11:56:44 <br>
END TIME : - <br>
DEPLOY ID: : one-299 <br>
<br>
VIRTUAL MACHINE
MONITORING
<br>
NET_TX : 468 <br>
NET_RX : 58381 <br>
USED MEMORY : 262144 <br>
USED CPU : 2 <br>
<br>
VIRTUAL MACHINE
TEMPLATE
<br>
CONTEXT=[<br>
FILES=/srv/kvm-images/filippoContrail/one/ubuTest.one,<br>
TARGET=hdb ]<br>
CPU=0.1<br>
DISK=[<br>
CLONE=YES,<br>
DISK_ID=0,<br>
IMAGE=ubuntuServer,<br>
IMAGE_ID=0,<br>
READONLY=NO,<br>
SAVE=NO,<br>
SOURCE=/srv/kvm-images/filippoContrail/one/var//images/0c807e521b4ae25dcbd07bb7b224fd6a9392d30b,<br>
TARGET=hda,<br>
TYPE=DISK ]<br>
GRAPHICS=[<br>
LISTEN=localhost,<br>
PORT=6199,<br>
TYPE=vnc ]<br>
MEMORY=256<br>
NAME=ubu1<br>
NIC=[<br>
BRIDGE=br-myriads,<br>
IP=131.254.201.69,<br>
MAC=02:00:83:fe:c9:45,<br>
NETWORK=VEP public network,<br>
NETWORK_ID=3 ]<br>
OS=[<br>
ARCH=x86_64,<br>
BOOT=hd ]<br>
VCPU=1<br>
VMID=299<br>
<br>
</font></small>
<p>I understand that in my VM there should be a drive on /dev/hdb to
mount. But when i ssh inside i just find cdrom1.<br>
Do you know why?</p>
<p>Thank you.<br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Filippo Gaudenzi R&D Engineer at INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Tel 02 9984 7126
<a class="moz-txt-link-freetext" href="http://www.irisa.fr/myriads/">http://www.irisa.fr/myriads/</a>
</pre>
</body>
</html>