Commit 7296658b authored by Svein Ove Undal's avatar Svein Ove Undal

print generated files and dont compile netflow

parent e34525ac
Pipeline #22631 failed with stages
in 7 minutes and 35 seconds
......@@ -30,6 +30,9 @@ nat44_configure:
- dpkg -i *.deb
- cp nat44_test.conf /etc/nat44/nat44.conf
- nat44 configure
- cat /etc/nat44/ipt.conf
- cat /etc/network/interfaces
- cat /etc/network/if-up.d/network
artifacts:
untracked: True
expire_in: 10 min
......
......@@ -48,7 +48,9 @@ def netflow():
if 'netflow' in log:
pkg_mannage('iptables-netflow-dkms')
if shell('modprobe ipt_NETFLOW') == 1: compile_netflow()
if shell('modprobe ipt_NETFLOW') == 1:
pass
#compile_netflow()
try:
if os.path.isfile('/etc/modprobe.d/ipt_NETFLOW.conf'):
os.remove('/etc/modprobe.d/ipt_NETFLOW.conf')
......@@ -64,7 +66,7 @@ def netflow():
shell("/usr/sbin/service snmpd restart")
if y == 1:
print "problem med ipt-netflow"
exit(9)
#exit(9)
except Exception, e:
print "problem med netflow-log"
print "log=None i nat44.conf, ved instalasjon uten log"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment