Have a look at this script
https://github.com/faiproject/fai-config/blob/master/scripts/DEBIAN/30-interface

Does this help you?
-- 
regards Thomas

Antwort per Email an