Correct the config when a bond and vlan are used together

When a bond and a vlan are used together, and the subnet assigned to
the vlan is not set to dhcp mode, there is no IP info for the
bond interface itself. It is gathered and attached on the vlan
interface. This checks that the bond is actually assigned to a subnet
before trying to write out static IP information.
I'm just wondering, should we try to configure bonds if subnet is nil? maybe we should rather `<% next if subnet.nil? %>`