mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
ci: Don't give special capabilities to Rust vhost-user-fs backend
There is no reason to give some special capabilities to the Rust version of virtiofsd since it behaves slightly differently and does not require neither DAC_OVERRIDE nor SYS_ADMIN. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
d8d790bb7b
commit
5b96dd5f70
@ -158,7 +158,6 @@ sudo ip link set vfio-tap2 up
|
|||||||
cargo build --release
|
cargo build --release
|
||||||
sudo setcap cap_net_admin+ep target/release/cloud-hypervisor
|
sudo setcap cap_net_admin+ep target/release/cloud-hypervisor
|
||||||
sudo setcap cap_net_admin+ep target/release/vhost_user_net
|
sudo setcap cap_net_admin+ep target/release/vhost_user_net
|
||||||
sudo setcap cap_dac_override,cap_sys_admin+epi target/release/vhost_user_fs
|
|
||||||
|
|
||||||
# We always copy a fresh version of our binary for our L2 guest.
|
# We always copy a fresh version of our binary for our L2 guest.
|
||||||
cp target/release/cloud-hypervisor $VFIO_DIR
|
cp target/release/cloud-hypervisor $VFIO_DIR
|
||||||
|
Loading…
Reference in New Issue
Block a user