fix syntax error
This commit is contained in:
parent
47fbaab403
commit
6e6bd2b143
@ -166,15 +166,14 @@ def can_claim_create(payload, host_id) -> (str, str):
|
||||
return payload, ""
|
||||
|
||||
def on_create_claimed(payload, host_id):
|
||||
//
|
||||
# network_name=payload['network_name'],
|
||||
# hard-code the network name for now until we can fix the phantom dhcp lease issues.
|
||||
get_model().create_vm(
|
||||
email=payload['email'],
|
||||
id=payload['id'],
|
||||
size=payload['size'],
|
||||
os=payload['os'],
|
||||
host=host_id,
|
||||
# network_name=payload['network_name'],
|
||||
# hard-code the network name for now until we can fix the phantom dhcp lease issues.
|
||||
network_name='public3',
|
||||
public_ipv4=payload['public_ipv4'],
|
||||
ssh_authorized_keys=list(map(lambda x: x["name"], payload['ssh_authorized_keys'])),
|
||||
|
Loading…
Reference in New Issue
Block a user