OK, I think I have it figured out. But now for one final problem:
How to add a static route on the host to the container.
So after the container starts:
/sbin/ip add -host IP lxdbr0
After container stops
/sbin/ip del -host IP lxdbr0
I want this to be in the container config file so that if I migrate the container to another host, the config/routes will go with it.
Adding /usr/lib/lxc/container/config doesn't work.
lxc config set container, adding:
results in lxc.hook.start bad key.