Settle on v1 setup method. Test run completed successfully from bootstrap to service setup.
- 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.
This commit is contained in:
@@ -4,10 +4,10 @@ PRESET_NET_ETHERNET_ENABLED="1"
|
||||
PRESET_NET_WIFI_ENABLED="0"
|
||||
|
||||
PRESET_NET_USE_STATIC="1"
|
||||
PRESET_NET_STATIC_IP="{{ (ds "config").cloud.dns.ip }}"
|
||||
PRESET_NET_STATIC_IP="{{ .cloud.dns.ip }}"
|
||||
PRESET_NET_STATIC_MASK="255.255.255.0"
|
||||
PRESET_NET_STATIC_GATEWAY="{{ (ds "config").cloud.router.ip }}"
|
||||
PRESET_NET_STATIC_DNS="{{ (ds "config").cloud.dns.ip }}"
|
||||
PRESET_NET_STATIC_GATEWAY="{{ .cloud.router.ip }}"
|
||||
PRESET_NET_STATIC_DNS="{{ .cloud.dns.ip }}"
|
||||
|
||||
# For example:
|
||||
# PRESET_NET_STATIC_IP="192.168.8.50"
|
||||
|
Reference in New Issue
Block a user