To remove completely ipv6 from distro disable all the kernel configurations related to ipv6, add the the below line in the local.conf file DISTRO_FEATURES_remove = "ipv6".
If above doesnot help create your own distro file owndistro.conf and add below lines to remove unwanted features as follows