https://github.com/zvyn/pboots
PXE boot (selection) service for dynamic booting of OSses depending on client IP-address and time.
https://github.com/zvyn/pboots
Last synced: about 1 year ago
JSON representation
PXE boot (selection) service for dynamic booting of OSses depending on client IP-address and time.
- Host: GitHub
- URL: https://github.com/zvyn/pboots
- Owner: zvyn
- Created: 2014-02-26T15:16:33.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2021-10-16T18:23:54.000Z (over 4 years ago)
- Last Synced: 2025-02-03T14:46:48.514Z (about 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pboots
======
pboots is a Django project to provide a dynamic web service for booting clients
over the network. It currently supports PXELINUX for booting computers
depending on their IP-address and the current time. This repository is mainly
an draft for one possible way to use the
[pboots/pxelinux](https://github.com/pboots-pxelinux) app.
set it up
---------
I assume you have a working PXELINUX (version >= 6) setup on the same server
running this web service (that is not necessary at all, just makes this how-to
a bit easier) and set DHCP-option 209 to
`http://your-boot-server-IP/pxelinux.cfg/`.
### testing
You don't need to set up a hole server-environment to test this, just
`cp sample-configs/pboots_locale_settings.py pboots/locale_settings.py`, open
it, set a paths for an sqlite-file and enter a hostname and a secret key (any
random combination of ASCII-chars).
You can now run `puthon manage.py syncdb` to set up the databases and a
superuser (you will need it later so say `yes` here).
After a `python manage.py runserver 80` you can configure your test-setup by
going to [http://your-boot-server-ip/cfg](http://localhost/cfg) according to
the instructions in [pboots/pxelinux/README.md](https://github.com/zvyn/pboots-pxelinux/blob/master/README.md).
Note that the page looks ugly only in testing mode since the img and css files
for Django-admin are missing.
### deploying
Just take a look on the files in sample-configs, you should get the idea.