diff options
| author | Simon Rettberg | 2016-10-05 15:24:00 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2016-10-05 15:24:00 +0200 |
| commit | c14cc5961260938065ec8749a96f413a18d2692a (patch) | |
| tree | 2972a6e2b5c37702056962ea38925a322f05e9e8 /dozentenmodul/src/main/java | |
| parent | [client] Enable USB in vmx after VM download (diff) | |
| download | tutor-module-c14cc5961260938065ec8749a96f413a18d2692a.tar.gz tutor-module-c14cc5961260938065ec8749a96f413a18d2692a.tar.xz tutor-module-c14cc5961260938065ec8749a96f413a18d2692a.zip | |
[client] Call .applySettingsForLocalEdit() after downloading a VM
Diffstat (limited to 'dozentenmodul/src/main/java')
| -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 c6c1682c..035c6ad4 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/VmWrapper.java @@ -76,6 +76,7 @@ public class VmWrapper { vmwareConfig.addCdrom(""); // ISO-Based with no disk in drive vmwareConfig.addCdrom(null); // Autodetect real drive vmwareConfig.enableUsb(true); + vmwareConfig.applySettingsForLocalEdit(); // Copy BIOS with both floppies enabled try (FileOutputStream output = new FileOutputStream(new File(diskFile.getAbsoluteFile() .getParentFile(), "nvram")); InputStream input = ResourceLoader.getStream("/data/nvram")) { |
