geekoops-next/README.md

56 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2021-03-25 10:33:05 +00:00
[![Test deployment](https://github.com/GeekOops/geekoops-next/actions/workflows/CI.yml/badge.svg)](https://github.com/GeekOops/geekoops-next/actions/workflows/CI.yml)
2021-03-25 09:38:03 +00:00
# geekoops-next
Install and configure a NEXT (Network Boot) server using `dnsmasq`.
2021-03-25 10:16:07 +00:00
Note: EFI boot is not yet working (missing files in ``next.tar.gz`).
2021-03-25 09:38:03 +00:00
## Role Variables
2021-03-25 10:16:07 +00:00
| Value | Description | Default |
|-------|-------------|---------|
|`dns_port`| DNS port to use | 0 (disabled) |
|`dhcp_no_override` | Set `dhcp_no_override` for compatability with old clients | true |
|`dhcp_boot` | Set PXE boot file | `pxelinux.0` |
|`prompt` | Set boot prompt test | "geekoops-next Network boot" |
|`prompt_timeout` | Set boot prompt timeout in seconds | 2 |
|`legacy` | Use legacy boot | true |
|`efi` | Use EFI boot (not yet working) | true |
|`dhcp_range` | `dhcp_range` directive for `dnsmasq` | "" (disabled) |
|`config_firewall` | Configure firewall | false |
|`firewall_zone` | Firewall zone to configure | "public" |
2021-03-25 09:38:03 +00:00
## Example Playbook
- hosts: jellyfish
roles:
- { role: geekoops-next }
2021-03-25 10:16:07 +00:00
More extended example, where we use "192.168.122.1" as DHCP server (i.e. the NEXT server is only DHCP proxy). This works well in case you want to use an external DHCP server and use another machine as NEXT server without providing DHCP.
- hosts: jellyfish
roles:
- role: geekoops-next
vars:
config_firewall: true
firewall_zone: "public"
dhcp_range: "192.168.122.1,proxy,255.255.255.0"
prompt: "My awesome network boot server"
2021-03-25 09:38:03 +00:00
## License
MIT
## Author Information
phoenix
Have a lot of fun!
# Development
## syslinux
Get the latest `syslinux` from [kernel.org/ ... /syslinux](https://kernel.org/pub/linux/utils/boot/syslinux/)