diff options
| author | Simon Rettberg | 2016-09-20 19:37:11 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2016-09-20 19:37:11 +0200 |
| commit | 532bab04b4e889f092753e98ccc7e1042259fead (patch) | |
| tree | d09c7028c5254864b065b69c04f8779f96a39d55 | |
| parent | [client] Add/fix several weblinks -> (diff) | |
| download | tutor-module-532bab04b4e889f092753e98ccc7e1042259fead.tar.gz tutor-module-532bab04b4e889f092753e98ccc7e1042259fead.tar.xz tutor-module-532bab04b4e889f092753e98ccc7e1042259fead.zip | |
[client] Enable USB in vmx after VM download
| -rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java index b90b5434..c6c1682c 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java @@ -75,6 +75,7 @@ public class VmWrapper { vmwareConfig.addFloppy(1, null, true); vmwareConfig.addCdrom(""); // ISO-Based with no disk in drive vmwareConfig.addCdrom(null); // Autodetect real drive + vmwareConfig.enableUsb(true); // Copy BIOS with both floppies enabled try (FileOutputStream output = new FileOutputStream(new File(diskFile.getAbsoluteFile() .getParentFile(), "nvram")); InputStream input = ResourceLoader.getStream("/data/nvram")) { |
