request-wendelin 537 Bytes
Newer Older
1 2
import json
# copied from the request-erp5-cluster script, only changed the url to point to wendelin
3
software_url = 'https://lab.nexedi.cn/nexedi/slapos/raw/1.0/software/wendelin/software.cfg'
4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Choose a SlapOS Node
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
computer_id = 'local_computer'

parameter_dict = {
}

# Choose a title
title = "instance-of-wendelin"

request(software_url,
  title,
  filter_kw={'computer_guid': computer_id},
  software_type='default',
18
  partition_parameter_kw={}
19
)