File tree Expand file tree Collapse file tree 3 files changed +33
-3
lines changed
Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,27 @@ Open /usr/local/etc/cbsd-mq-router.json in any favorite editor and set
6868 "cbsdcolor": false,
6969 "broker": "beanstalkd",
7070 "logfile": "/dev/stdout",
71+ "recomendation": "/usr/local/cbsd/modules/api.d/misc/recomendation.sh",
72+ "freejname": "/usr/local/cbsd/modules/api.d/misc/freejname.sh",
73+ "server_url": "https://127.0.0.1",
74+ "cloud_images_list": "/usr/local/etc/cbsd_api_cloud_images.json",
75+ "iso_images_list": "/usr/local/etc/cbsd_api_iso_images.json",
7176 "beanstalkd": {
7277 "uri": "127.0.0.1:11300",
73- "tube": "cbsd_apitest_my_domain ",
74- "reply_tube_prefix": "cbsd_cbsd_apitest_my_domain_result_id ",
78+ "tube": "cbsd_zpool1 ",
79+ "reply_tube_prefix": "cbsd_zpool1_result_id ",
7580 "reconnect_timeout": 5,
7681 "reserve_timeout": 5,
7782 "publish_timeout": 5,
7883 "logdir": "/var/log/cbsdmq"
7984 }
8085}
86+
8187```
8288
89+ ` cloud_images_list ` - The path to the json file, which is displayed upon /images query - list of avaliable images.
90+ See etc/cbsd_api_cloud_images.json as sample.
91+
83925 ) Start MQ router:
8493```
8594service cbsd-mq-router enable
Original file line number Diff line number Diff line change 55 "logfile" : " /dev/stdout" ,
66 "recomendation" : " /usr/local/cbsd/modules/api.d/misc/recomendation.sh" ,
77 "freejname" : " /usr/local/cbsd/modules/api.d/misc/freejname.sh" ,
8- "server_url" : " http://127.0.0.1:65531" ,
8+ "server_url" : " https://127.0.0.1" ,
9+ "cloud_images_list" : " /usr/local/etc/cbsd_api_cloud_images.json" ,
10+ "iso_images_list" : " /usr/local/etc/cbsd_api_iso_images.json" ,
911 "beanstalkd" : {
1012 "uri" : " 127.0.0.1:11300" ,
1113 "tube" : " cbsd_zpool1" ,
Original file line number Diff line number Diff line change 1+ {
2+ "images" : [
3+ " centos7" ,
4+ " centos8" ,
5+ " debian10" ,
6+ " debian11" ,
7+ " freebsd13_ufs" ,
8+ " freebsd13_zfs" ,
9+ " freebsd14_ufs" ,
10+ " freebsd14_zfs" ,
11+ " netbsd9" ,
12+ " openbsd7" ,
13+ " opnsense21" ,
14+ " oracle7" ,
15+ " oracle8" ,
16+ " rocky8" ,
17+ " ubuntu20"
18+ ]
19+ }
You can’t perform that action at this time.
0 commit comments