Just realised after testing that this won't work on a standard workstation install because the dhcp package isn't installed by default. Maybe NetworkManager or dhclient should be the ones to obsolete it.