Re: [libvirt] Two issues regarding TFTP support in virtual networks...

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

 



On Mon, Jan 11, 2010 at 04:48:54PM +0100, Paolo Bonzini wrote:
> 
> >>(mcpierce@mcpierce-desktop:node-image)$ sudo virsh net-dumpxml testbr541
> >><network>
> >>   <name>testbr541</name>
> >>   <uuid>f389317f-8420-7516-df9d-756b7deb3d37</uuid>
> >>   <forward mode='nat'/>
> >>   <bridge name='testbr541' stp='on' delay='0' />
> >>   <ip address='192.168.31.1' netmask='255.255.255.0'>
> >>     <tftp root='/tmp/tmp.3B8opJfBXw/tftpboot/' />
> >>     <dhcp>
> >>       <range start='192.168.31.100' end='192.168.31.199' />
> >>     </dhcp>
> >>   </ip>
> >></network>
> >>
> >>When I start up the VM, I see it get an IP address within the range
> >>specified, but it never pxeboots the ISO image.
> >>
> >>To what directory should the root attribute be pointed?
> >
> >If someone has a moment, could you please take a look and help me with
> >this situation? I've tried several scenarios and nothing seems to work
> >for pointing libvirt to the directory I've created.
> 
> You are not giving BOOTP info (you are missing the <bootp> tag,
> which goes inside <dhcp>).

Okay, here's the XML that's now being generated by my test script:

<network>
<name>testbr6253</name>
<forward mode='nat' />
<bridge name='testbr6253' stp='on' forwardDelay='0' />
<ip address='192.168.133.1' netmask='255.255.255.0'>
<tftp root='/tmp/tmp.dEf7FPCaKm/tftpboot' />
<bootp file='pxelinux.0' />
<dhcp>
<range start='192.168.133.100' end='192.168.133.199' />
</dhcp>
</ip>
</network>

However, I still get the message "No filename or root path specified"
within the VM and it does not boot from the above directory.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpUmU501JVEQ.pgp
Description: PGP signature

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]