mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-10 05:31:11 -05:00
cli: convert libvirt container image to Bazel
This commit is contained in:
parent
498e8241ff
commit
1f81763a27
8 changed files with 167 additions and 0 deletions
|
|
@ -3,6 +3,11 @@
|
|||
set -euo pipefail
|
||||
shopt -s inherit_errexit
|
||||
|
||||
# ensure library cache is up to date
|
||||
ldconfig
|
||||
|
||||
chown -R tss:root /var/lib/swtpm-localca
|
||||
|
||||
# Assign qemu the GID of the host system's 'kvm' group to avoid permission issues for environments defaulting to 660 for /dev/kvm (e.g. Debian-based distros)
|
||||
KVM_HOST_GID="$(stat -c '%g' /dev/kvm)"
|
||||
groupadd -o -g "${KVM_HOST_GID}" host-kvm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue