mirror of
https://github.com/coreos/coreos-assembler.git
synced 2026-02-05 18:44:56 +01:00
bottlecap: use kvm device instead of --privileged
This commit is contained in:
committed by
Jonathan Lebon
parent
8149fe3519
commit
cb5f45cdce
@@ -101,4 +101,4 @@ fi
|
||||
|
||||
# we actually want work splitting here since $volumes is multiple args
|
||||
# shellcheck disable=SC2086
|
||||
$runtime run --rm -ti --privileged --userns=host $volumes --workdir /srv $entrypoint "$container" "$@"
|
||||
$runtime run --rm -ti --device '/dev/kvm' $volumes --workdir /srv $entrypoint "$container" "$@"
|
||||
|
||||
Reference in New Issue
Block a user