Disable ipv6 for all network interfaces

hi All,

May someone know how to disable ipv6 for all network interfaces?
For example, adding some configuration to /etc/connman/main.conf or passing this parameter to the linux kernel on boot: ‘ipv6.disable=1’