1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-06 17:40:58 +00:00

fix: forgejo-runner-service.sh misses LXC config

When re-creating the LXC container, the INPUTS_LXC_CONFIG must be
set otherwise it will always use the default.
This commit is contained in:
Earl Warren 2025-01-27 09:59:38 +01:00
parent 5f92ffdbc6
commit 253eb51687
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -159,13 +159,14 @@ function inside() {
local name=$(lxc_name) local name=$(lxc_name)
lxc-helpers.sh lxc_container_run $name -- sudo --user $LXC_USER_NAME \ lxc-helpers.sh lxc_container_run $name -- sudo --user $LXC_USER_NAME \
INPUTS_SERIAL=$INPUTS_SERIAL \ INPUTS_SERIAL="$INPUTS_SERIAL" \
INPUTS_TOKEN=$INPUTS_TOKEN \ INPUTS_LXC_CONFIG="$INPUTS_LXC_CONFIG" \
INPUTS_FORGEJO=$INPUTS_FORGEJO \ INPUTS_TOKEN="$INPUTS_TOKEN" \
INPUTS_LIFETIME=$INPUTS_LIFETIME \ INPUTS_FORGEJO="$INPUTS_FORGEJO" \
KILL_AFTER=$KILL_AFTER \ INPUTS_LIFETIME="$INPUTS_LIFETIME" \
VERBOSE=$VERBOSE \ KILL_AFTER="$KILL_AFTER" \
HOST=$HOST \ VERBOSE="$VERBOSE" \
HOST="$HOST" \
$SELF_FILENAME "$@" $SELF_FILENAME "$@"
} }