diff --git a/.gemini/skills/offload/scripts/setup.ts b/.gemini/skills/offload/scripts/setup.ts index ac4ddcca8a..97ac8906a1 100644 --- a/.gemini/skills/offload/scripts/setup.ts +++ b/.gemini/skills/offload/scripts/setup.ts @@ -65,8 +65,10 @@ export async function runSetup(env: NodeJS.ProcessEnv = process.env) { console.log(`\nšŸš€ Configuring Isolated SSH Alias...`); let dnsSuffix = await prompt('Internal DNS Suffix (e.g. .internal or .internal.gcpnode.com)', '.internal.gcpnode.com'); - // Ensure suffix starts with a dot - if (dnsSuffix && !dnsSuffix.startsWith('.')) dnsSuffix = '.' + dnsSuffix; + // FIX: Ensure exactly ONE dot between projectId and suffix + if (dnsSuffix && !dnsSuffix.startsWith('.')) { + dnsSuffix = '.' + dnsSuffix; + } // PREPEND nic0. for direct internal routing const internalHostname = `nic0.${targetVM}.${zone}.c.${projectId}${dnsSuffix}`;