|
@@ -86,6 +86,13 @@ public class AppBootstrap {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 网卡选择
|
|
|
+ String preferredNetworks = properties.get("ocean.inet.preferredNetworks");
|
|
|
+ if (StringUtils.isNotBlank(preferredNetworks)) {
|
|
|
+ System.setProperty("spring.cloud.inetutils.preferred-networks", preferredNetworks);
|
|
|
+ properties.put("spring.cloud.inetutils.preferred-networks", preferredNetworks);
|
|
|
+ }
|
|
|
+
|
|
|
properties.put("spring.profiles.active", active);
|
|
|
|
|
|
Set<String> argSet = Sets.newLinkedHashSet();
|