mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-06-27 16:35: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:
parent
5f92ffdbc6
commit
253eb51687
1 changed files with 8 additions and 7 deletions
|
@ -159,13 +159,14 @@ function inside() {
|
|||
local name=$(lxc_name)
|
||||
|
||||
lxc-helpers.sh lxc_container_run $name -- sudo --user $LXC_USER_NAME \
|
||||
INPUTS_SERIAL=$INPUTS_SERIAL \
|
||||
INPUTS_TOKEN=$INPUTS_TOKEN \
|
||||
INPUTS_FORGEJO=$INPUTS_FORGEJO \
|
||||
INPUTS_LIFETIME=$INPUTS_LIFETIME \
|
||||
KILL_AFTER=$KILL_AFTER \
|
||||
VERBOSE=$VERBOSE \
|
||||
HOST=$HOST \
|
||||
INPUTS_SERIAL="$INPUTS_SERIAL" \
|
||||
INPUTS_LXC_CONFIG="$INPUTS_LXC_CONFIG" \
|
||||
INPUTS_TOKEN="$INPUTS_TOKEN" \
|
||||
INPUTS_FORGEJO="$INPUTS_FORGEJO" \
|
||||
INPUTS_LIFETIME="$INPUTS_LIFETIME" \
|
||||
KILL_AFTER="$KILL_AFTER" \
|
||||
VERBOSE="$VERBOSE" \
|
||||
HOST="$HOST" \
|
||||
$SELF_FILENAME "$@"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue