Skip to content

Commit

Permalink
add-vm: Augmentation max de vmid à 300
Browse files Browse the repository at this point in the history
  • Loading branch information
jocelynj committed Jul 3, 2024
1 parent 3adb495 commit c845fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/add-vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def find_vmid(vmid=None, vmname=None):
existing_names.add(m)

if vmid is None:
vmid = max([vmid for vmid in existing_vmid if vmid < 211]) + 1
vmid = max([vmid for vmid in existing_vmid if vmid < 300]) + 1

if vmname is None:
vmname = "osm%d" % vmid
Expand Down

0 comments on commit c845fba

Please sign in to comment.