2024-10-21 23:46:52 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
# Copyright (C) 2024 Aleksa Sarai <cyphar@cyphar.com>
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
2024-10-23 10:24:19 +00:00
|
|
|
set -Eeuo pipefail
|
|
|
|
|
|
2024-10-21 23:46:52 +00:00
|
|
|
export INCUS_SOCKET=/run/incus/unix.socket
|
2025-02-05 16:15:22 +00:00
|
|
|
export INCUS_EDK2_PATH=/usr/share/lxd/ovmf
|
2024-10-23 10:53:02 +00:00
|
|
|
export PATH="$PATH:@SUSE_LIBEXEC@/incus"
|
2024-10-21 23:46:52 +00:00
|
|
|
# Should we use INCUS_AGENT_PATH?
|
|
|
|
|
|
2024-10-23 10:53:02 +00:00
|
|
|
exec @SUSE_LIBEXEC@/incus/incusd "$@"
|