Skip to content

Commit

Permalink
Fix: behave: add CAP_NET_ADMIN for firewall (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Oct 16, 2024
1 parent efaaf44 commit ce84504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/run-functional-tests
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ deploy_ha_node() {
podman_options="--name $node_name -h $node_name --systemd always --shm-size 1g"
# CAP_SYS_NICE for corosync to set realtime priority
# CAP_AUDIT_CONTROL for sshd
podman_capabilties="--cap-add CAP_SYS_NICE --cap-add CAP_AUDIT_CONTROL"
# CAP_NET_ADMIN for firewall and virtual ip
podman_capabilties="--cap-add CAP_SYS_NICE --cap-add CAP_AUDIT_CONTROL --cap-add CAP_NET_ADMIN"
make_cmd="cd $PROJECT_INSIDE;./autogen.sh && ./configure --prefix /usr && make install && make install-crmconfDATA prefix= && cp /usr/bin/crm /usr/sbin"

info "Deploying \"$node_name\"..."
Expand Down

0 comments on commit ce84504

Please sign in to comment.