Commit 39757258 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Sample for KVM start at 0 index rather them 1

This is mostly a simplification to follow range(int)
parent 1be6e254
......@@ -24,10 +24,10 @@ if "_" in json_parameter:
else:
raise ValueError("KVM Cluster only supports serialised values!")
KVM1 = json_parameter["kvm-partition-dict"]["KVM1"]
KVM0 = json_parameter["kvm-partition-dict"]["KVM0"]
for i in range(amount):
json_parameter["kvm-partition-dict"]["KVM" + str(i)] = KVM1
json_parameter["kvm-partition-dict"]["KVM" + str(i)] = KVM0
xml_paramerter = """
<?xml version="1.0" encoding="utf-8"?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment