/etc/nginx/conf.d/pxe.conf wasn't being properly generated due to a
missing shell escape, which made things non functional out of the box.
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
The default configuration of nginx was updated to use a configuration
directory. This allows multiple applications to be hosted on the same
nginx instance/host as long as different port numbers are used.
Updating the install script to use this change so that users can get
going with IPXE without problems.
Fixing install sequencing
Checking return codes and printing messages consistently
Not relying on cached DNS providers
Minimizing network interface changes
Resolving conflicts between systemd and dnsmasq
Dropping IPv6 support, not caching DNS servers anymore
Using the option DNSStubListener=no to disable systemd's DNS stub listener. Also adding support for IPv6 NAT and handling hostnames consistently for all web-based services.
Do not run install scripts if requirements are not met
Using more portable shell conditional expressions
Naming install scripts for a clear entry point
Removing unnecessary firewall dependencies
Properly sequencing startup of servers
Properly limiting servers on interfaces
Defaulting to system-preferred DNS resolver
Systems often have their preferred DNS resolvers (e.g. systemd-resolved, NetworkManager). Configuration is simplified by accomodating this fact and not using the DNS stub provided by dnsmasq.
Passing server domain to PXE configuration
Bug fixes for enabling automated install