Merge "Prevent network interface logging w/ ovs agent"

This commit is contained in:
Jenkins 2014-04-25 10:16:02 +00:00 committed by Gerrit Code Review
commit c128a78f9e
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
# potentially thousands of network interfaces on the system, we don't
# want to overwhelm upstart with log pipes. This sends all of it to the
# system console.
if [ "$(dib-init-system)" = "upstart" ] && [ -e /etc/init/network-interface.conf ] ; then
echo "console output" >> /etc/init/network-interface.override
fi