From 469c0ab91ae550945eb4d0a18ebd284994fde384 Mon Sep 17 00:00:00 2001 From: Pierre Blanc Date: Wed, 2 Nov 2016 08:55:54 -0400 Subject: 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 --- etc/os-net-config/samples/interface.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/os-net-config/samples/interface.json') 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" } ] } -- cgit 1.2.3-korg