I really don't like doing this sort of thing, that's why I started to implement configuring interfaces by MAC using the new :nic_mac_addresses provider capability.