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
|
||||
# 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
|
||||
|
||||
return payload, ""
|
||||
|
@ -79,7 +79,7 @@ virt-install \
|
||||
--os-variant generic \
|
||||
--virt-type kvm \
|
||||
--graphics vnc,listen=127.0.0.1 \
|
||||
--network network=$network_name,filterref=clean-traffic,model=virtio \
|
||||
--network network=$network_name,model=virtio \
|
||||
--import \
|
||||
--print-xml > "/tank/vm/$xml"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user