Last re-hard-coding for "working" joy

This commit is contained in:
3wc 2021-07-18 12:03:57 +02:00
parent 2adbb8d94c
commit 0e5dfe6bde
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ def can_claim_create(payload, host_id) -> (str, str):
# payload["network_name"] = allocated_network_name # payload["network_name"] = allocated_network_name
# hard-code the network name for now until we can fix the phantom dhcp lease issues. # hard-code the network name for now until we can fix the phantom dhcp lease issues.
payload["network_name"] = 'public1' payload["network_name"] = 'public3'
payload["public_ipv4"] = allocated_ipv4_address payload["public_ipv4"] = allocated_ipv4_address
return payload, "" return payload, ""

View File

@ -79,7 +79,7 @@ virt-install \
--os-variant generic \ --os-variant generic \
--virt-type kvm \ --virt-type kvm \
--graphics vnc,listen=127.0.0.1 \ --graphics vnc,listen=127.0.0.1 \
--network network=$network_name,filterref=clean-traffic,model=virtio \ --network network=$network_name,model=virtio \
--import \ --import \
--print-xml > "/tank/vm/$xml" --print-xml > "/tank/vm/$xml"