Re: [Users] kickstarting a vm via http

2012-10-18 Thread Dan Yasny


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Dan Yasny dya...@redhat.com
 Cc: Alex Leonhardt alex.t...@gmail.com, users@ovirt.org
 Sent: Thursday, 18 October, 2012 2:12:03 AM
 Subject: Re: [Users] kickstarting a vm via http
 
 On 10/17/2012 11:39 AM, Dan Yasny wrote:
 
 
  - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, 16 October, 2012 11:22:06 PM
  Subject: Re: [Users] kickstarting a vm via http
 
 
  FWIW and in case someone is interested, you can use the following
  kernel parameters to kickstart from network (without pxe - i'd
  prefer that, but it's not always an option) :
 
  ks= http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X
  netmask=255.255.255.0
 
  This, afaik, will not work for the VMs, since the params are passed
  to libvirt, that can't take files from http/s. Have you actually
  tried this and it worked?
 
 I'm not sure this is blocked for fedora.
 also, iirc, you can place them on the iso domain, and use an iso://
 notation


Thanks, I'll have to try this

 
 
 
  it'll require you however to have the kernel  initrd.img files -
  you
  can get those from the distro cd / iso (even jus the network
  install) and put them somewhere, doesnt matter - just reference
  those files in the kernel path and initrd path and it'll work
  ..
  e.g.
 
  kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ]
  initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img
  ]
 
  alex
 
 
  On 10/16/2012 09:59 PM, Alex Leonhardt wrote:
 
  ok, local path seems to do the trick :)
 
  ta!
 
 
  On 10/16/2012 08:49 PM, Alex Leonhardt wrote:
 
  hi,
 
  i'm trying to kickstart a new VM using the kernel parameters
  field,
  however, when I enter any text in there, it requires me to give a
  path for the kernel ?? is that deliberate ? if so, should that be
  the path to the kernel via http:// or on the local filesystem of
  the
  node ??
 
  Thanks
  Alex
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 

-- 



Regards, 

Dan Yasny 
Red Hat Israel 
+972 9769 2280
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] kickstarting a vm via http

2012-10-17 Thread Dan Yasny


- Original Message -
 From: Alex Leonhardt alex.t...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, 16 October, 2012 11:22:06 PM
 Subject: Re: [Users] kickstarting a vm via http
 
 
 FWIW and in case someone is interested, you can use the following
 kernel parameters to kickstart from network (without pxe - i'd
 prefer that, but it's not always an option) :
 
 ks= http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X
 netmask=255.255.255.0

This, afaik, will not work for the VMs, since the params are passed to libvirt, 
that can't take files from http/s. Have you actually tried this and it worked?

 
 it'll require you however to have the kernel  initrd.img files - you
 can get those from the distro cd / iso (even jus the network
 install) and put them somewhere, doesnt matter - just reference
 those files in the kernel path and initrd path and it'll work ..
 e.g.
 
 kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ]
 initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img ]
 
 alex
 
 
 On 10/16/2012 09:59 PM, Alex Leonhardt wrote:
 
 ok, local path seems to do the trick :)
 
 ta!
 
 
 On 10/16/2012 08:49 PM, Alex Leonhardt wrote:
 
 hi,
 
 i'm trying to kickstart a new VM using the kernel parameters field,
 however, when I enter any text in there, it requires me to give a
 path for the kernel ?? is that deliberate ? if so, should that be
 the path to the kernel via http:// or on the local filesystem of the
 node ??
 
 Thanks
 Alex
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

-- 



Regards, 

Dan Yasny 
Red Hat Israel 
+972 9769 2280
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] kickstarting a vm via http

2012-10-17 Thread Itamar Heim

On 10/17/2012 11:39 AM, Dan Yasny wrote:



- Original Message -

From: Alex Leonhardt alex.t...@gmail.com
To: users@ovirt.org
Sent: Tuesday, 16 October, 2012 11:22:06 PM
Subject: Re: [Users] kickstarting a vm via http


FWIW and in case someone is interested, you can use the following
kernel parameters to kickstart from network (without pxe - i'd
prefer that, but it's not always an option) :

ks= http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X
netmask=255.255.255.0


This, afaik, will not work for the VMs, since the params are passed to libvirt, 
that can't take files from http/s. Have you actually tried this and it worked?


I'm not sure this is blocked for fedora.
also, iirc, you can place them on the iso domain, and use an iso:// notation





it'll require you however to have the kernel  initrd.img files - you
can get those from the distro cd / iso (even jus the network
install) and put them somewhere, doesnt matter - just reference
those files in the kernel path and initrd path and it'll work ..
e.g.

kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ]
initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img ]

alex


On 10/16/2012 09:59 PM, Alex Leonhardt wrote:

ok, local path seems to do the trick :)

ta!


On 10/16/2012 08:49 PM, Alex Leonhardt wrote:

hi,

i'm trying to kickstart a new VM using the kernel parameters field,
however, when I enter any text in there, it requires me to give a
path for the kernel ?? is that deliberate ? if so, should that be
the path to the kernel via http:// or on the local filesystem of the
node ??

Thanks
Alex



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] kickstarting a vm via http

2012-10-16 Thread Alex Leonhardt

ok, local path seems to do the trick :)

ta!


On 10/16/2012 08:49 PM, Alex Leonhardt wrote:

hi,

i'm trying to kickstart a new VM using the kernel parameters field, 
however, when I enter any text in there, it requires me to give a path 
for the kernel ?? is that deliberate ? if so, should that be the path 
to the kernel via http://  or  on the local filesystem of the node ??


Thanks
Alex


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] kickstarting a vm via http

2012-10-16 Thread Alex Leonhardt
FWIW and in case someone is interested, you can use the following kernel 
parameters to kickstart from network (without pxe - i'd prefer that, but 
it's not always an option) :


ks=http://X.X.X.X/ks/ks.cfg ksdevice=eth0 ip=X.X.X.X netmask=255.255.255.0

it'll require you however to have the kernel  initrd.img files - you 
can get those from the distro cd / iso (even jus the network install) 
and put them somewhere, doesnt matter - just reference those files in 
the kernel path and initrd path and it'll work .. e.g.


kernel path [ /var/www/html/repo/centos/images/pxeboot/vmlinuz ]
initrd path [ /var/www/html/repo/centos/images/pxeboot/initrd.img ]

alex


On 10/16/2012 09:59 PM, Alex Leonhardt wrote:

ok, local path seems to do the trick :)

ta!


On 10/16/2012 08:49 PM, Alex Leonhardt wrote:

hi,

i'm trying to kickstart a new VM using the kernel parameters field, 
however, when I enter any text in there, it requires me to give a 
path for the kernel ?? is that deliberate ? if so, should that be the 
path to the kernel via http://  or  on the local filesystem of the 
node ??


Thanks
Alex


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users