-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fb_network_scripts: add ability to configure system wide static defau…
…lt gateway Summary: Add ability to configure system wide static default gateway And remove incorrect comment Differential Revision: D51118754 fbshipit-source-id: 15e533972e90282bb515a4634bf53f208c0bf2f4
- Loading branch information
1 parent
dfcd3be
commit 35fefd3
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# This file is maintained by Chef. Do not edit, all changes will be | ||
# overwritten. See fb_network_scripts/README.md | ||
|
||
# Note that we don't set GATEWAY in here because ifup-local will do it | ||
NETWORKING=yes | ||
HOSTNAME=<%= node['fqdn'] %> | ||
LINKDELAY=<%= node['fb_network_scripts']['linkdelay'] %> | ||
NETWORKING_IPV6=yes | ||
IFDOWN_ON_SHUTDOWN=no | ||
<% if node['fb_network_scripts']['v6_default_gw'] %> | ||
IPV6_DEFAULTGW="<%= node['fb_network_scripts']['v6_default_gw'] %>" | ||
<% end %> |