Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LXC gateway provisioned only when IP is provided #26875

Merged
merged 1 commit into from Sep 10, 2015

Conversation

marccardinal
Copy link
Contributor

The directive lxc.network.ipv4.gateway = auto should not be added to an LXC configuration file when no IP address is specified. It results in the following error:

lxc-start 1441227080.264 ERROR    lxc_conf - conf.c:setup_netdev:2724 - Cannot add ipv4 gateway for eth0 when not assigning an address

The directive `lxc.network.ipv4.gateway = auto` should not be added to an LXC configuration file when no IP address is specified. It results in the following error: 

```
lxc-start 1441227080.264 ERROR    lxc_conf - conf.c:setup_netdev:2724 - Cannot add ipv4 gateway for eth0 when not assigning an address
```
@justinta justinta added Minor Change Execution-Module Platform Relates to OS, containers, platform-based utilities like FS, system based apps labels Sep 3, 2015
@justinta
Copy link

justinta commented Sep 3, 2015

@marccardinal Thanks for the PR!

jfindlay added a commit that referenced this pull request Sep 10, 2015
LXC gateway provisioned only when IP is provided
@jfindlay jfindlay merged commit f2ad3c3 into saltstack:2015.5 Sep 10, 2015
@marccardinal
Copy link
Contributor Author

Will this be merged in 2015.8 ?

Thanks

@jfindlay
Copy link
Contributor

@marccardinal, 2015.5 was merged into 2015.8 earlier today, so it should be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Execution-Module Platform Relates to OS, containers, platform-based utilities like FS, system based apps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants