mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
Select the default virtual network when creating a new virtual machine
This commit is contained in:
parent
ef2c2277d0
commit
e74d58634c
@ -111,7 +111,7 @@ public class CloudStackComputeServiceAdapter implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Network arg0) {
|
public boolean apply(Network arg0) {
|
||||||
return arg0.getZoneId() == zoneId;
|
return arg0.getZoneId() == zoneId && arg0.isDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
})).getId());
|
})).getId());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user