1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 15:54:24 +00:00

Remove errors around IP forwarding not enabled

This commit is contained in:
Darren Shepherd
2016-06-17 07:55:06 -07:00
parent b6ddb4f577
commit 395b855871
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ github.com/opencontainers/runtime-spec f955d90e70a98ddfb886bd930ffd076da9b67998
github.com/opencontainers/specs f955d90e70a98ddfb886bd930ffd076da9b67998
github.com/packethost/packngo 92012705236896736875186c9e49557897c6af90 https://github.com/ibuildthecloud/packngo.git
github.com/pmezard/go-difflib d8ed2627bdf02c080bf22230dbb337003b7aba2d
github.com/rancher/docker-from-scratch d0332743084cd128eb8c13b06ef6b85330afc563
github.com/rancher/docker-from-scratch 2f55d849ff39f4b05be0d4f0d1d603024d4a768b
github.com/rancher/netconf ddd7e35a6aacd7e80991920774083dd4408ec018
github.com/rcrowley/go-metrics eeba7bd0dd01ace6e690fa833b3f22aaec29af43
github.com/ryanuber/go-glob 0067a9abd927e50aed5190662702f81231413ae0

View File

@@ -576,6 +576,8 @@ func secondPrepare(config *Config, docker string, args ...string) error {
return err
}
ioutil.WriteFile("/proc/sys/net/ipv4/ip_forward", []byte("1"), 0655)
return nil
}