diff --git a/scripts/system/worktree/up.sh b/scripts/system/worktree/up.sh index f97a72aab2..3387d86737 100755 --- a/scripts/system/worktree/up.sh +++ b/scripts/system/worktree/up.sh @@ -53,7 +53,7 @@ git worktree add "${path}" "${branch}" git_common_dir="$(git rev-parse --path-format=absolute --git-common-dir)" -lab_octet="$((244 + slot))" +lab_prefix="10.244.${slot}" echo ">>> Pinning slot ${slot} in ${path}/custom.env" cat >"${path}/custom.env" <\d+)$", re.MULTILINE) +_LAB_PREFIX_RE = re.compile(r'^lab_prefix="(?P