mirror of https://github.com/apache/jclouds.git
issue 384: IsoToMachine + Test started
This commit is contained in:
parent
1649c15ac7
commit
1d68a63614
|
@ -69,6 +69,7 @@ public class VirtualBoxPropertiesBuilder extends PropertiesBuilder {
|
|||
"jclouds-virtualbox-test"));
|
||||
|
||||
// TODO: Add more properties and use the wired properties from test code.
|
||||
properties.put(VirtualBoxConstants.VIRTUALBOX_DISTRO_ISO_NAME, "ubuntu-11.04-server-i386.iso");
|
||||
return properties;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ public class VirtualBoxComputeServiceAdapter implements ComputeServiceAdapter<IM
|
|||
|
||||
@Override
|
||||
public Iterable<IMachine> listHardwareProfiles() {
|
||||
return Collections.emptyList();
|
||||
return manager.getVBox().getMachines();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -50,4 +50,6 @@ public interface VirtualBoxConstants {
|
|||
public static final String VIRTUALBOX_MACHINE_LOCATION = "jclouds.virtualbox.location";
|
||||
|
||||
public static final String VIRTUALBOX_HOST_ID = "jclouds.virtualbox.hostid";
|
||||
|
||||
public static final String VIRTUALBOX_DISTRO_ISO_NAME = "jclouds.virtualbox.distroIsoName";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue