diff options
author | Micah Anderson <micah@leap.se> | 2014-11-13 15:11:51 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-11-13 15:11:51 -0500 |
commit | 8abcc784b0fe1daad22dfd1ca8ecd068723e965d (patch) | |
tree | 7cde33a828e6eaace0d30ae5e866d597a0f4ba31 /provider_base/files/service-definitions | |
parent | 54849ae1d7407b2a6fd2f7d801e80e1632c20c70 (diff) | |
parent | e18853b16969cb164613003edfab9a5b5800e099 (diff) |
Merge remote-tracking branch 'elijah/bugfix/mtu' into develop
Diffstat (limited to 'provider_base/files/service-definitions')
-rw-r--r-- | provider_base/files/service-definitions/v1/eip-service.json.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/provider_base/files/service-definitions/v1/eip-service.json.erb b/provider_base/files/service-definitions/v1/eip-service.json.erb index 3b8976fd..0ecd002a 100644 --- a/provider_base/files/service-definitions/v1/eip-service.json.erb +++ b/provider_base/files/service-definitions/v1/eip-service.json.erb @@ -42,6 +42,10 @@ end configuration = node.openvpn.configuration end + configuration = configuration.dup + if configuration['fragment'] && configuration['fragment'] == 1500 + configuration.delete('fragment') + end hsh["gateways"] = gateways.compact hsh["locations"] = locations hsh["openvpn_configuration"] = configuration |