mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
Fix launch
This commit is contained in:
parent
05f2ab7ec4
commit
885f7e741e
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ start_container () {
|
|||
lxc delete -f "$CONTAINER_ID"
|
||||
fi
|
||||
|
||||
if ! lxc image info "$BASE_IMAGE-$SNAPSHOT_NAME" &>/dev/null
|
||||
if ! lxc image info "$BASE_IMAGE" &>/dev/null
|
||||
then
|
||||
echo "$BASE_IMAGE not found, please rebuild with rebuild_all.sh"
|
||||
# Inform GitLab Runner that this is a system failure, so it
|
||||
|
@ -23,7 +23,7 @@ start_container () {
|
|||
exit $SYSTEM_FAILURE_EXIT_CODE
|
||||
fi
|
||||
|
||||
lxc launch "$BASE_IMAGE-$SNAPSHOT_NAME" "$CONTAINER_ID" 2>/dev/null
|
||||
lxc launch "$BASE_IMAGE" "$CONTAINER_ID" 2>/dev/null
|
||||
lxc config set "$CONTAINER_ID" security.nesting true
|
||||
|
||||
mkdir -p $current_dir/cache
|
||||
|
|
Loading…
Add table
Reference in a new issue