]> git.ipfire.org Git - thirdparty/dracut.git/commit
Adds bittorrent support for live images
authorAntony Messerli <amesserl@rackspace.com>
Fri, 15 Aug 2014 14:44:11 +0000 (09:44 -0500)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 15:29:33 +0000 (17:29 +0200)
commit338bad63937eb48be2503c3991f88f05c750deeb
tree58a660f8b445bfa6e2e3f3b52a281998f21a9421
parent504c0a8feca7d7ef470e4483a68cbaf9cb7df2bf
Adds bittorrent support for live images

This patch adds bittorrent support to 45url-lib for those that might want
to retrieve the same live image for multiple systems at once without
saturating the network.

This patch requires ctorrent to be installed into initramfs.

Torrent kernel command line format:
root=live:torrent://example.com/liveboot.img.torrent

Start a tracker:
bttrack --bind <tracker_ip> --port 6969 --dfile dstate --reannounce_interval 60

Create the torrent:
ctorrent -t live_image -u http://<tracker_ip>:6969/announce -s live_image.torrent

Seed the initial torrent:
ctorrent live_image.torrent

Boot the live image.
dracut.cmdline.7.asc
modules.d/45url-lib/module-setup.sh
modules.d/45url-lib/url-lib.sh