1
0
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:
Andrew Jeddeloh
2019-06-13 10:52:42 -07:00
committed by Jonathan Lebon
parent 8149fe3519
commit cb5f45cdce

View File

@@ -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" "$@"