containers: fix broken /etc/hosts entries when localAddress contains a netmask
authored by montag451 and committed by Jörg Thalheim 9 years ago ea5551b5 4889c271