Revision 0a3c881e
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
174 | 174 |
else: |
175 | 175 |
script.write(" /sbin/ip route replace $IP/32 dev $INTERFACE\n") |
176 | 176 |
interface_proxy_arp = "/proc/sys/net/ipv4/conf/$INTERFACE/proxy_arp" |
177 |
interface_forwarding = "/proc/sys/net/ipv4/conf/$INTERFACE/forwarding" |
|
177 | 178 |
script.write(" /bin/echo 1 > %s\n" % interface_proxy_arp) |
179 |
script.write(" /bin/echo 1 > %s\n" % interface_forwarding) |
|
178 | 180 |
script.write("fi\n\n") |
179 | 181 |
# As much as we'd like to put this in our _ROOT_DIR, that will happen to be |
180 | 182 |
# mounted noexec sometimes, so we'll have to find another place. |
Also available in: Unified diff