File tree 3 files changed +33
-3
lines changed
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
68
68
"cbsdcolor": false,
69
69
"broker": "beanstalkd",
70
70
"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",
71
76
"beanstalkd": {
72
77
"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 ",
75
80
"reconnect_timeout": 5,
76
81
"reserve_timeout": 5,
77
82
"publish_timeout": 5,
78
83
"logdir": "/var/log/cbsdmq"
79
84
}
80
85
}
86
+
81
87
```
82
88
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
+
83
92
5 ) Start MQ router:
84
93
```
85
94
service cbsd-mq-router enable
Original file line number Diff line number Diff line change 5
5
"logfile" : " /dev/stdout" ,
6
6
"recomendation" : " /usr/local/cbsd/modules/api.d/misc/recomendation.sh" ,
7
7
"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" ,
9
11
"beanstalkd" : {
10
12
"uri" : " 127.0.0.1:11300" ,
11
13
"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