Last re-hard-coding for "working" joy
This commit is contained in:
parent
2adbb8d94c
commit
0e5dfe6bde
@ -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, ""
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user