diff options
author | Simon Rettberg | 2021-07-01 11:09:08 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-01 11:09:08 +0200 |
commit | 1c2e60c52a890b8d49b056a80c61c7a950ad3160 (patch) | |
tree | 315ce900ecae7618c5a151bb213ba2734d3bd190 | |
parent | Update RNG schema files of Libvirt to version 7.3 (diff) | |
download | master-sync-shared-1c2e60c52a890b8d49b056a80c61c7a950ad3160.tar.gz master-sync-shared-1c2e60c52a890b8d49b056a80c61c7a950ad3160.tar.xz master-sync-shared-1c2e60c52a890b8d49b056a80c61c7a950ad3160.zip |
[vmware] Don't return filtered data in getAsByteArray(), breaks editing
This would irreversibly break any VMX once you edit them after
uploading, as #SLX_HDD_* would get removed.
-rw-r--r-- | src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java index 39aaae5..0cbb50c 100644 --- a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java +++ b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java @@ -434,7 +434,7 @@ public class VirtualizationConfigurationVmware extends public byte[] getConfigurationAsByteArray() { - return config.toString( true, false ).getBytes( StandardCharsets.UTF_8 ); + return config.toString( false, false ).getBytes( StandardCharsets.UTF_8 ); } private static class Device |