Skip to content

Commit 70b9c3a

Browse files
Alexandra Iordacheacatangiu
Alexandra Iordache
authored andcommitted
add CAP_NET_ADMIN to firecracker binary
Signed-off-by: Alexandra Iordache <aghecen@amazon.com>
1 parent bc4b78d commit 70b9c3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

one-time-setup.sh

+3
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ sudo sysctl -w net.ipv4.netfilter.ip_conntrack_max=99999999
1111
sudo sysctl -w net.ipv4.neigh.default.gc_thresh1=1024
1212
sudo sysctl -w net.ipv4.neigh.default.gc_thresh2=2048
1313
sudo sysctl -w net.ipv4.neigh.default.gc_thresh3=4096
14+
15+
# Add CAP_NET_ADMIN to firecracker (for TUNSETIFF ioctl)
16+
sudo setcap cap_net_admin=eip firecracker

0 commit comments

Comments
 (0)