[Users] kickstarting a vm via http

Dan Yasny dyasny at redhat.com
Thu Oct 18 08:37:00 UTC 2012



----- Original Message -----
> From: "Itamar Heim" <iheim at redhat.com>
> To: "Dan Yasny" <dyasny at redhat.com>
> Cc: "Alex Leonhardt" <alex.tuxx at gmail.com>, users at 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.tuxx at gmail.com>
> >> To: users at 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 at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
> 
> 
> 

-- 



Regards, 

Dan Yasny 
Red Hat Israel 
+972 9769 2280



More information about the Users mailing list