Did you get a response to this?
I have the same issue.
as soon as zentyal installed on top of ubuntu it rewrites all networking config.
Hi, yes I think I found out about the hooks idea.
In /etc/ebox/hooks I have a file called
network.postsetconfwhich contains the following.
#!/bin/sh
if grep "/sbin/ifenslave" /etc/network/interfaces >/dev/null; then
exit 0
fi
cp /etc/network/interfaces.vm /etc/network/interfaces
exit 0
The file
interfaces.vm contains what I need the server to have and gets copied over the Zentyal file as and when needed.
I think this is how I fixed it... It was quite a while ago now but that looks about right.
Cheers
Alan