Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Chef Client, Chef Solo
-
Labels:
-
Environment:
Linux (RHEL)
Description
For routing, we should be able to set a default route. For example, this should be valid:
route 'default' do
gateway '192.168.16.15'
device 'eth1'
end
In the meantime, I am using this as a workaround:
execute 'default_eth1_route' do
command 'echo "default via 192.168.16.15" >> /etc/sysconfig/network-scripts/route-eth1'
not_if 'grep default /etc/sysconfig/network-scripts/route-eth1'
end