aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/interface.json
diff options
context:
space:
mode:
authorPierre Blanc <pblanc@redhat.com>2016-11-02 08:55:54 -0400
committerPierre Blanc <pblanc@redhat.com>2016-11-11 13:06:36 -0500
commit469c0ab91ae550945eb4d0a18ebd284994fde384 (patch)
tree690eb1b487eb5e02324fc687b7935b6e0d00b82f /etc/os-net-config/samples/interface.json
parent4fdb0a6a2b355750ae8071e53a74b9257b18eeee (diff)
Add support for ethtool_opts option
This patch add an optional option to specify the ETHTOOL_OPTS for each interface. ETHTOOL_OPTS option will be written to the ifcfg file. Change-Id: I6b594e89ba6b4c17e8df79def997f6c9ea427a3a
Diffstat (limited to 'etc/os-net-config/samples/interface.json')
-rw-r--r--etc/os-net-config/samples/interface.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json
index 9ae0b76..6eb8f62 100644
--- a/etc/os-net-config/samples/interface.json
+++ b/etc/os-net-config/samples/interface.json
@@ -25,7 +25,8 @@
"type": "interface",
"name": "em2",
"use_dhcp": true,
- "defroute": no
+ "defroute": no,
+ "ethtool_opts": "speed 1000 duplex full"
}
]
}