Thanks Nicolas! Option 3 worked perfectly. I just added two interfaces
files (interfaces-client, interfaces-server) to my init-ifupdown bbappend,
and using a ROOTFS_POSTPROCESS_COMMAND in my image recipe I replace the
/etc/network/interfaces file with one of the two depending on the image.
*Alla
On Thu, Jul 24, 2014 at 12:25 AM, Allan Matthew wrote:
> I have two separate images, call them server and client. The client will
> have one /network/interfaces file and the server will have another. I can
> successfully override the init-ifupdown in my own bbappend in my layer and
> use one of
I have two separate images, call them server and client. The client will
have one /network/interfaces file and the server will have another. I can
successfully override the init-ifupdown in my own bbappend in my layer and
use one of my interface files, but I can't figure out how to pick between
t