- Refactor dnsmasq configuration and scripts for improved variable handling and clarity - Updated dnsmasq configuration files to use direct variable references instead of data source functions for better readability. - Modified setup scripts to ensure they are run from the correct environment and directory, checking for the WC_HOME variable. - Changed paths in README and scripts to reflect the new directory structure. - Enhanced error handling in setup scripts to provide clearer guidance on required configurations. - Adjusted kernel and initramfs URLs in boot.ipxe to use the updated variable references.
33 lines
806 B
Plaintext
33 lines
806 B
Plaintext
# Network
|
|
PRESET_NET_CHANGE_DEFAULTS="1"
|
|
PRESET_NET_ETHERNET_ENABLED="1"
|
|
PRESET_NET_WIFI_ENABLED="0"
|
|
|
|
PRESET_NET_USE_STATIC="1"
|
|
PRESET_NET_STATIC_IP="{{ .cloud.dns.ip }}"
|
|
PRESET_NET_STATIC_MASK="255.255.255.0"
|
|
PRESET_NET_STATIC_GATEWAY="{{ .cloud.router.ip }}"
|
|
PRESET_NET_STATIC_DNS="{{ .cloud.dns.ip }}"
|
|
|
|
# For example:
|
|
# PRESET_NET_STATIC_IP="192.168.8.50"
|
|
# PRESET_NET_STATIC_MASK="255.255.255.0"
|
|
# PRESET_NET_STATIC_GATEWAY="192.168.8.1"
|
|
# PRESET_NET_STATIC_DNS="1.1.1.1"
|
|
|
|
# System
|
|
# SET_LANG_BASED_ON_LOCATION="y"
|
|
# PRESET_LOCALE="en_US.UTF-8"
|
|
# PRESET_TIMEZONE="Etc/UTC"
|
|
|
|
# Root
|
|
# PRESET_ROOT_PASSWORD="RootPassword"
|
|
# PRESET_ROOT_KEY=""
|
|
|
|
# User
|
|
# PRESET_USER_NAME="armbian"
|
|
# PRESET_USER_PASSWORD="UserPassword"
|
|
# PRESET_USER_KEY=""
|
|
# PRESET_DEFAULT_REALNAME="Armbian user"
|
|
PRESET_USER_SHELL="bash"
|