Details
Description
gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag
In systemvm/patches/debian/config/opt/cloud/bin/merge.py
processCLItem following piece of code sets the local gateway as public interface/ip gateway, as there is no check on the network type.
if('localgw' in self.qFile.data['cmd_line']):
dp['gateway'] = self.qFile.data['cmd_line']['localgw']
for public network type, it should be read from cmd_line.gateway