[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [fedora-virt] default tftp root dir in virt-manager or qemu?



On Tue, Jun 23, 2009 at 04:50:12PM +0000, Mark McLoughlin wrote:
> Hey,
> 
> On Mon, 2009-06-15 at 19:28 +0200, Gianluca Cecchi wrote:
> > It seems that the guest gets one of the available ip provided by
> > dhcpd, also it founds dhcpd and tftp server: both are set to
> > 192.168.122.1 (the server itself with its virbro default interface).
> > No configuration done by me.
> > I see /etc/libvirt/qemu/networks/default.xml with some parameters but
> > I don't know if and how I can put here also tftp settings....
> 
> Yeah, what we really need here is to have support for setting up TFTP
> for libvirt's virtual networks - e.g.
> 
>   <tftp root="/var/lib/tftpboot/linux-install" />
>   <bootp file="pxelinux.0" />
> 
> which would cause dnsmasq to be run with:
> 
>   --enable-tftp --tftp-root=/var/lib/libvirt/tftp \
>   --dhcp-boot=pxelinux.0
> 
> we'd also need to open port 69 in our iptables rules.
> 
> Please file an RFE for this in bugzilla.redhat.com/Virtualization ...
> maybe even give a shot at cooking up a patch?

I really question what the point in going to setup a PXE server install
on each individual host OS is. The 'virtual network' is local only, so
you might as well just install the guest using a direct kernel+initrd
boot, avoiding all the host OS configuration steps, and extra PXE boot
complexity in libvirt. 

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]