Old topic, I know, but I have a similar need that I don't think is handled by the GUI.
In my case, I want to create a VM to mirror my production firewall (hardware), down to the interface names. While I can manually change the interface names via ifconfig (e.g. ifconfig em0 name igb0), how do I make this persistent? Surely some script must run at startup that could do this, right?
My use case is so I can test big config changes and updates before deploying for reals, and not have to mentally map things between the two, likely screwing something up along the way.
Thanks...