--_000_149458272973333416leedsbeckettacuk_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Gajendra,
virt-v2v didn't support Debian/Ubuntu guests, it is a=
pparently in a later version that is due to be included in RHEL/Centos 7.4
What I did to get a Metasploitable2 image into oVirt was.
1. convert vmdk disk
qemu-img convert -f vmdk Metasploitable.vmdk -O raw Metasploitable.i=
mg
2. Find size of disk 8GB in this case
qemu-img info Metasploitable.img
3. Create VM O/S Linux with disk of that size and of interface type IDE thi=
n provision
4. In engine in the DATA_DOMAIN record the id of the disk just created
5. in the DATA_DOMAIN on one the hosts/nodes go to the images directory
e.g. mount_point/UUID/images
6. cd to directory of the id of the disk recorded at step 5 (also probably =
last directory created)
there should be 3 files and the one without an extension should be 8GB
they should all start with the same UUID in this case 1805e3a4-0697-4=
c0a-8dfb-0c0011490bd2
7. dd if=3D/path/Metasploitable.img of=3D1805e3a4-0697-4c0a-8dfb-0c0011490=
bd2 bs=3D4M
8. Boot VM.
It may be easier converting the disk and creating a new VM with it or seein=
g if Fedora has a more modern virt-v2v
Regards,
Paul S.
________________________________
From: users-bounces(a)ovirt.org <users-bounces(a)ovirt.org> on behalf of Gajend=
ra Ravichandran <r.gajendran(a)hotmail.co.uk
Sent: 09
May 2017 11:01
To: users(a)ovirt.org
Subject: [ovirt-users] Migrate VirtualBox Vm into
Hi,
I am running a ovirt engine and ovirt host on a single machine for testing =
purpose. I trying to convert and move Debian virtualbox vm which is created=
using vagrant into ovirt engine as template.
I tried to convert using virt-v2v as
http://libguestfs.org/virt-v2v.1.html.=
However, I get error as (Debian/ Linux cannot be converted).
I have exported the vm from virtualbox and have the image as .ova. Is there=
any way to migrate?
Thanks
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
--_000_149458272973333416leedsbeckettacuk_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html
<head
<meta http-equiv=3D"Content-Type"
content=3D"text/html; charset=3Diso-8859-=
1"
<style type=3D"text/css"
style=3D"display:none"><!--P{margin-top:0;margin-b=
ottom:0;} P{margin-top:0;margin-bottom:0;}--></style
</head
<body dir=3D"ltr"
style=3D"font-size:12pt;color:#000000;background-color:#F=
FFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"
<p>Hi Gajendra,</p
<p>
&n=
bsp; virt-v2v didn't support Debian/Ubuntu guests, it is apparently in=
a later version that is due to be
included i=
n RHEL/Centos 7.4</p
<p><br
</p
<p>What I did to get
a Metasploitable2 image into&=
nbsp;oVirt was.</p
<p><br
</p
<p> </p
<span
style=3D"font-size:12pt;background-color:white;" dir=3D"ltr"
<div style=3D"margin-top:0;margin-bottom:0;">1.
convert vmdk disk</div
<div
style=3D"margin-top:0;margin-bottom:0;">
&n=
bsp; </div
<div
style=3D"margin-top:0;margin-bottom:0;">
qem=
u-img convert -f vmdk Metasploitable.vmdk -O raw Metasploitable.img
</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">2. Find size
of =
;disk 8GB in this case<br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">
</div
<div
style=3D"margin-top:0;margin-bottom:0;">
qe=
mu-img info Metasploitable.img
</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">3. Create VM O/S Linux with di=
sk of that size and of interface type IDE thin provision
<br
</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">4.
In engine i=
n the DATA_DOMAIN record the id of the disk just created</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">5. in the DATA_DOMAIN on one t=
he hosts/nodes go to the images directory</div
<div
style=3D"margin-top:0;margin-bottom:0;"> e.g.
moun=
t_point/UUID/images</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">6. cd to directory of the id o=
f the disk recorded at step 5 (also probably last directory creat=
ed)</div
<div
style=3D"margin-top:0;margin-bottom:0;">
there =
;should be 3 files and
the one without an ext=
ension should be 8GB</div
<div
style=3D"margin-top:0;margin-bottom:0;"> they
shoul=
d all start with the same UUID in this case 1805e3a4-0697-4c0a-8dfb-0=
c0011490bd2
<br
</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">7. dd if=3D/path/Metasploitabl=
e.img of=3D1805e3a4-0697-4c0a-8dfb-0c0011490bd2 bs=3D4M<br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">
</div
<div
style=3D"margin-top:0;margin-bottom:0;">8. Boot VM.</div
<div
style=3D"margin-top:0;margin-bottom:0;"><br
It may be
easier converting the disk and creating a new VM with it or seein=
g if Fedora has a more modern virt-v2v<br
<br
</div
<div
style=3D"margin-top:0;margin-bottom:0;">Regards,</div
<div
style=3D"margin-top:0;margin-bottom:0;">
&n=
bsp; Paul S.</div
</span
<p><br
</p
<div dir=3D"ltr"
style=3D"color: rgb(33, 33, 33);"
<hr
tabindex=3D"-1" style=3D"display:inline-block; width:98%"
<div id=3D"divRplyFwdMsg"
dir=3D"ltr"><font style=3D"font-size:11pt" face=
=3D"Calibri, sans-serif" color=3D"#000000"><b>From:</b>
users-bounces@ovirt=
.org &lt;users-bounces(a)ovirt.org&gt; on behalf of Gajendra Ravichandran <=
;r.gajendran(a)hotmail.co.uk&gt;<br
<b>Sent:</b> 09 May 2017 11:01<br
<b>To:</b> users(a)ovirt.org<br
<b>Subject:</b> [ovirt-users] Migrate VirtualBox Vm into</font
<div> </div
</div
<div
<div
id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt;
color=
:#000000; font-family:Calibri,Arial,Helvetica,sans-serif"
<p>Hi,</p
<p><br
</p
<p>I am running a ovirt engine and ovirt host on a single machine for testi=
ng purpose. I trying to convert and move Debian virtualbox vm whi=
ch is created using vagrant into ovirt engine as template. </p
<p><br
</p
<p>I tried to convert using
virt-v2v as <a href=3D"http://libguestfs.o=
rg/virt-v2v.1.html" class=3D"OWAAutoLink"
id=3D"LPlnk660180">http://libgues=
tfs.org/virt-v2v.1.html</a>. However, I get error as (Debian/ Linux cannot =
be converted).</p
<p><br
</p
<p>I have exported the vm from
virtualbox and have the image as .ova. =
Is there any way to migrate?</p
<p><br
</p
<p>Thanks </p
<br
<div
id=3D"Signature"
<div
<div
<div><b><i><font
style=3D"background-color:rgb(255,255,255)" size=3D"2"></f=
ont></i></b></div
</div
</div
</div
</div
</div
</div
To view
the terms under which this email is distributed, please go to:- <br=
<a
href=3D"http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html"=
target=3D"_blank">http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaim=
er.html</a
<p></p
</body
</html
--_000_149458272973333416leedsbeckettacuk_--