Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Use Case pxe server #2

Open
dschier-wtd opened this issue Sep 2, 2019 · 1 comment
Open

Doc: Use Case pxe server #2

dschier-wtd opened this issue Sep 2, 2019 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dschier-wtd
Copy link
Member

Documenting the pxe setup would be a nice addition. Basically srv_dhcp with some params + srv_tftp.

See also: while-true-do/ansible-role-srv_dhcp#2

@dschier-wtd dschier-wtd added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 2, 2019
@dschier-wtd dschier-wtd self-assigned this Sep 2, 2019
@dschier-wtd
Copy link
Member Author

example for dhcp role:

PXE Server Setup

Configure a dhcp server and tftp server as pxe boot service. You need the
while_true_do.srv_tftp
Role.

- hosts: install
  roles:
    - role: while_true_do.srv_tftp
      wtd_srv_tftp_boot_conf:
      timeout: "100"
      labels:
        - label: "CentOS 7.6"
          default: true
          kernel: "centos76/vmlinuz"
          append: "initrd=centos76/initrd.img"
    - role: while_true_do.srv_dhcp
      wtd_srv_dhcp_conf_global:
        allow_booting: false
        allow_bootp: false
        next_server: "<ip of install host>"
        filename: "pxelinux.cfg/default"
      wtd_srv_dhcp_conf_networks:
        - name: "my network"
          subnet: "192.168.0.0"
          netmask: "255.255.255.0"
          domain_name_servers: "192.168.0.1"
          routers: "192.168.0.1"
          range: "192.168.0.10 192.168.0.20"

@dschier-wtd dschier-wtd removed their assignment Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Development

No branches or pull requests

1 participant