mirror of
https://github.com/clearlinux/clr-cloud-init-svc.git
synced 2026-08-21 14:26:21 +00:00
dbce167d06
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
5 lines
168 B
Python
5 lines
168 B
Python
import os
|
|
APP_ROOT = os.path.dirname(os.path.abspath(__file__))
|
|
APP_STATIC = os.path.join(APP_ROOT, 'static')
|
|
SUBDIR = os.path.join('/', os.path.basename(APP_ROOT))
|