[bat] Allow to set dns_nameserver and security_group

Change-Id: Ia59be85a0e6ba6204bb1ed20953ccf9d9dfb4d6f
Merge "[bat] Allow to set dns_nameserver and security_group"