Commit d63218ce authored by Guido Trotter's avatar Guido Trotter

KVMHypervisor: wrap long line

Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent 7118a0df
......@@ -170,7 +170,8 @@ class KVMHypervisor(hv_base.BaseHypervisor):
elif nic.nicparams[constants.NIC_MODE] == constants.NIC_MODE_ROUTED:
script.write(" # Route traffic targeted at the IP to the interface\n")
if nic.nicparams[constants.NIC_LINK]:
script.write(" /sbin/ip route replace $IP/32 table $LINK dev $INTERFACE\n")
script.write(" /sbin/ip route replace $IP/32 table $LINK"
" dev $INTERFACE\n")
script.write(" /sbin/ip route replace $IP/32 dev $INTERFACE\n")
interface_proxy_arp = "/proc/sys/net/ipv4/conf/$INTERFACE/proxy_arp"
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