forked from pool/cloud-init
21 lines
725 B
Diff
21 lines
725 B
Diff
|
--- cloudinit/net/sysconfig.py.orig
|
||
|
+++ cloudinit/net/sysconfig.py
|
||
|
@@ -94,7 +94,7 @@ class ConfigMap(object):
|
||
|
class Route(ConfigMap):
|
||
|
"""Represents a route configuration."""
|
||
|
|
||
|
- route_fn_tpl = '%(base)s/network-scripts/route-%(name)s'
|
||
|
+ route_fn_tpl = '%(base)s/network/route-%(name)s'
|
||
|
|
||
|
def __init__(self, route_name, base_sysconf_dir):
|
||
|
super(Route, self).__init__()
|
||
|
@@ -119,7 +119,7 @@ class Route(ConfigMap):
|
||
|
class NetInterface(ConfigMap):
|
||
|
"""Represents a sysconfig/networking-script (and its config + children)."""
|
||
|
|
||
|
- iface_fn_tpl = '%(base)s/network-scripts/ifcfg-%(name)s'
|
||
|
+ iface_fn_tpl = '%(base)s/network/ifcfg-%(name)s'
|
||
|
|
||
|
iface_types = {
|
||
|
'ethernet': 'Ethernet',
|