diff --git a/src/app/_components/ConfigurationModal.tsx b/src/app/_components/ConfigurationModal.tsx index b66aeff..48e0d47 100644 --- a/src/app/_components/ConfigurationModal.tsx +++ b/src/app/_components/ConfigurationModal.tsx @@ -88,6 +88,7 @@ export function ConfigurationModal({ var_mtu: 1500, var_mac: '', var_ns: '', + var_searchdomain: '', // Identity var_hostname: slug, @@ -214,7 +215,7 @@ export function ConfigurationModal({ } // Container ID (CTID): if set, must be integer >= 100 const ctidVal = advancedVars.var_ctid; - if (ctidVal !== '' && ctidVal !== undefined) { + if (ctidVal !== '' && ctidVal !== undefined && typeof ctidVal !== 'boolean') { const ctidNum = typeof ctidVal === 'string' ? parseInt(ctidVal, 10) : ctidVal; if (isNaN(ctidNum) || ctidNum < 100) { newErrors.var_ctid = 'Must be 100 or greater'; @@ -656,6 +657,17 @@ export function ConfigurationModal({

{errors.var_ns}

)} +
+ + updateAdvancedVar('var_searchdomain', e.target.value)} + placeholder="e.g. local, home.lan" + /> +