From: Stephen Childs <Stephen.Childs@cs.tcd.ie>
To: xen-devel@lists.xensource.com
Subject: pypxeboot: Dom0 PXE bootloader for PV guests
Date: Fri, 02 Feb 2007 16:05:59 +0000 [thread overview]
Message-ID: <45C36167.50207@cs.tcd.ie> (raw)
Hi,
I wanted to get my para-virtualised VMs integrated into our existing
PXE/kickstart infrastructure so I could do a completely automatic install
of VMs. Having read previous posts on the xen-devel list I realised that
there was nothing I could use off the shelf, so I have put together my own
bootloader which uses a modified udhcpc and tftp to get an IP address and
pxelinux configuration for the guest (before it even exists). If the
pxelinux configuration specifies a network boot, the relevant kernel and
initrd are downloaded using tftp and sxp is generated a la pygrub. If the
pxelinux config specifies a localboot, we fall through to pygrub.
The code now works for me, so I am making it available here:
http://www.cs.tcd.ie/Stephen.Childs/pypxeboot/
Once you have udhcpc and tftp installed it should be very easy to drop it
into an existing pxelinux infrastructure. I'd love some feedback.
I will submit a proper patch soon (probably Monday at this stage) as it
should be a useful complement to pygrub.
Stephen
--
Dr. Stephen Childs,
Research Fellow, EGEE Project, phone: +353-1-8961797
Computer Architecture Group, email: Stephen.Childs @ cs.tcd.ie
Trinity College Dublin, Ireland web: http://www.cs.tcd.ie/Stephen.Childs
reply other threads:[~2007-02-02 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45C36167.50207@cs.tcd.ie \
--to=stephen.childs@cs.tcd.ie \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.