vm.attachVirtualDisk(diskId, disk1Bk, false, null);
vm.dumpDevices();
}
// create a snapshot so that we can do linked clone
vm.createSnapshot("snap1", "snap1");
// test finding snapshots
vm.createSnapshot("snap2", "snap2");
VcSnapshot snap1 = vm.getSnapshotByName("snap1");
AuAssert.check(snap1 != null);
VcSnapshot snap2 = vm.getSnapshotByName("snap2");