diff options
author | Simon Rettberg | 2022-03-01 14:14:12 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-01 14:14:12 +0100 |
commit | b2f848473c2aee2dc33f56e15448eb45ad850351 (patch) | |
tree | b0dc9896aea93212d610b871b376cc3b0bfd088e | |
parent | AppUtil: Fix opening jar file if running from network share (diff) | |
download | master-sync-shared-b2f848473c2aee2dc33f56e15448eb45ad850351.tar.gz master-sync-shared-b2f848473c2aee2dc33f56e15448eb45ad850351.tar.xz master-sync-shared-b2f848473c2aee2dc33f56e15448eb45ad850351.zip |
[vmware] Add svga.graphicsMemoryKB to whitelist
2 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java index 49f44df..d9ad129 100644 --- a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java +++ b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfigurationVmware.java @@ -55,11 +55,12 @@ public class VirtualizationConfigurationVmware extends VirtualizationConfigurati "^time\\.synchronize", "^bios\\.bootDelay", "^rtc\\.", "^xhci[.:]", "^usb_xhci[.:]", "\\.deviceType$", "\\.port$", "\\.parent$", "^usb[.:]", - "^firmware", "^hpet", "^vm\\.genid" }; - STATELESS_WHITELIST_PATTERN = Pattern.compile( String.join( "|", list1 ).toLowerCase(), Pattern.CASE_INSENSITIVE ); + "^firmware", "^hpet", "^vm\\.genid", + "^svga\\.graphicsMemoryKB$" }; + STATELESS_WHITELIST_PATTERN = Pattern.compile( String.join( "|", list1 ), Pattern.CASE_INSENSITIVE ); // LOWERCASE - Upload privacy filter String[] list2 = { "^displayname$", "^extendedconfigfile$", "^gui\\.", "^nvram$", "^memsize$" }; - PRIVACY_BLACKLIST_PATTERN = Pattern.compile( String.join( "|", list2 ).toLowerCase(), Pattern.CASE_INSENSITIVE ); + PRIVACY_BLACKLIST_PATTERN = Pattern.compile( String.join( "|", list2 ), Pattern.CASE_INSENSITIVE ); } public static enum EthernetType diff --git a/src/test/resources/vmware/vmx/vmware-player_default-ubuntu_transform-non-persistent.vmx b/src/test/resources/vmware/vmx/vmware-player_default-ubuntu_transform-non-persistent.vmx index e62d33a..ac14019 100644 --- a/src/test/resources/vmware/vmx/vmware-player_default-ubuntu_transform-non-persistent.vmx +++ b/src/test/resources/vmware/vmx/vmware-player_default-ubuntu_transform-non-persistent.vmx @@ -35,6 +35,7 @@ sound.autoDetect = "TRUE" sound.fileName = "-1" sound.present = "TRUE" suspend.disabled = "TRUE" +svga.graphicsMemoryKB = "8388608" tools.syncTime = "FALSE" usb.present = "TRUE" usb.vbluetooth.startConnected = "TRUE" |