Skip to content

Commit

Permalink
Add env variable "FORTIGATE_UUID" to set the VM UUID for licensing pu…
Browse files Browse the repository at this point in the history
…rposes (#275)
  • Loading branch information
jbemmel authored Oct 31, 2024
1 parent 536877e commit 61aa237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortigate/docker/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, hostname, username, password, conn_mode):
self.num_nics = 12
self.nic_type = "virtio-net-pci"
self.highest_port = 0
self.qemu_args.extend(["-uuid", str(uuid.uuid4())])
self.qemu_args.extend(["-uuid", os.getenv("FORTIGATE_UUID") or str(uuid.uuid4())])
self.spins = 0
self.running = None

Expand Down

0 comments on commit 61aa237

Please sign in to comment.