sculpt_manager: accept uplink from "local" network

Be less rigid when checking for available network to support
setups where the uplink or depot repositories are provided by
another source than "wired" or "wifi" NIC services,
e.g., a virtual machine with pass-through network device.
This commit is contained in:
Stefan Kalkowski 2020-02-12 15:27:36 +01:00 committed by Christian Helmuth
parent 904651ada9
commit 87cb10c558
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ struct Sculpt::Nic_target : Noncopyable
bool nic_router_needed() const { return type() != OFF; }
bool ready() const { return type() == WIRED || type() == WIFI; }
bool ready() const { return type() == WIRED ||
type() == WIFI ||
type() == LOCAL; }
};
#endif /* _MODEL__NIC_TARGET_H_ */