Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pymemuc/_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,11 @@ def set_configuration_vm(
:return: True if the vm configuration was set successfully
:rtype: Literal[True]
"""
config_values = config_value.split()
if vm_index is not None:
status, output = self.memuc_run(["-i", str(vm_index), "setconfigex", config_key, config_value])
status, output = self.memuc_run(["-i", str(vm_index), "setconfigex", config_key, *config_values])
elif vm_name is not None:
status, output = self.memuc_run(["-n", vm_name, "setconfigex", config_key, config_value])
status, output = self.memuc_run(["-n", vm_name, "setconfigex", config_key, *config_values])
else:
msg = "Please specify either a vm index or a vm name"
raise PyMemucIndexError(msg)
Expand Down
Loading