Skip to content

Commit

Permalink
Allow vm class to be given as positional argument to clone_vm
Browse files Browse the repository at this point in the history
Create qube dialog uses it this way.

Fixess QubesOS/qubes-issues#9574
  • Loading branch information
marmarek committed Nov 12, 2024
1 parent ee57bf1 commit 4a7fc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesadmin/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def add_new_vm(self, cls, name, label, template=None, pool=None,
self.domains.clear_cache()
return self.domains[name]

def clone_vm(self, src_vm, new_name, *, new_cls=None, pool=None, pools=None,
def clone_vm(self, src_vm, new_name, new_cls=None, *, pool=None, pools=None,
ignore_errors=False, ignore_volumes=None,
ignore_devices=False):
# pylint: disable=too-many-statements
Expand Down

0 comments on commit 4a7fc26

Please sign in to comment.