diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-27 18:52:37 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-27 18:52:37 +0800 |
commit | d67d5beceef94686818ce264b2ca93f82b66e8f4 (patch) | |
tree | 8515de9cfd6a12c9d192efbe96d5605d3ddc6854 | |
parent | e319737c4f67ad1c468d980aa20d6dc7e7d5cdb5 (diff) | |
download | talos-petitboot-d67d5beceef94686818ce264b2ca93f82b66e8f4.tar.gz talos-petitboot-d67d5beceef94686818ce264b2ca93f82b66e8f4.zip |
discover/network: In static config mode, only configure defined interfaces
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | discover/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/network.c b/discover/network.c index 6a1575f..bc7e186 100644 --- a/discover/network.c +++ b/discover/network.c @@ -547,8 +547,8 @@ struct network *network_init(struct device_handler *handler, network = talloc(handler, struct network); list_init(&network->interfaces); network->handler = handler; - network->manual_config = false; network->dry_run = dry_run; + network->manual_config = config_get()->network.n_interfaces != 0; network_init_dns(network); |