Skip to content

New auto-configuration scheme#1459

Merged
fwsGonzo merged 9 commits intoincludeos:devfrom
fwsGonzo:dev
Sep 1, 2017
Merged

New auto-configuration scheme#1459
fwsGonzo merged 9 commits intoincludeos:devfrom
fwsGonzo:dev

Conversation

@fwsGonzo
Copy link
Copy Markdown
Member

@fwsGonzo fwsGonzo commented Sep 1, 2017

Quoting @AndreasAakesson
This one is more explicit, and supports dhcp-with-fallback as needed for Acorn and Demo_Service #1456.

test/net/integration/configure/config.json:

{
  "net": [
    {
      "iface": 0,
      "config":  "static",
      "address": "10.0.0.42",
      "netmask": "255.255.255.0",
      "gateway": "10.0.0.1"
    },
    {
      "iface": 1,
      "config":  "static",
      "address": "10.0.0.43",
      "netmask": "255.255.255.0",
      "gateway": "10.0.0.1",
      "dns":     "8.8.8.8"
    },
    {
      "iface": 2,
      "config": "none"
    },
    {
      "iface": 3,
      "config": "dhcp"
    },
    {
      "iface": 5,
      "config": "dhcp-with-fallback",
      "address": "10.0.0.44",
      "netmask": "255.255.255.0",
      "gateway": "10.0.0.1"
    }
  ]
}

@fwsGonzo fwsGonzo merged commit aeb92fb into includeos:dev Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants