Commit a839af5a authored by Kirill Smelkov's avatar Kirill Smelkov

X Move user-authorized-key back to be eNB property instead of RU property

parent 116027ba
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"user-authorized-key": {
"title": "User Authorized Key",
"description": "SSH public key in order to connect to the SSH server of this instance.",
"textarea": true,
"type": "string"
},
"enb_id": { "enb_id": {
"title": "eNB ID", "title": "eNB ID",
"description": "eNB ID. (must be set if there are LTE cells)", "description": "eNB ID. (must be set if there are LTE cells)",
......
...@@ -55,12 +55,6 @@ ...@@ -55,12 +55,6 @@
"title": "Cron schedule for RRH reset", "title": "Cron schedule for RRH reset",
"description": "Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am", "description": "Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am",
"type": "string" "type": "string"
},
"user-authorized-key": {
"title": "User Authorized Key",
"description": "SSH public key in order to connect to the SSH server of this instance.",
"textarea": true,
"type": "string"
} }
} }
} }
...@@ -247,6 +247,10 @@ firmware = {{ru_lopcomm_firmware_filename}} ...@@ -247,6 +247,10 @@ firmware = {{ru_lopcomm_firmware_filename}}
{%- macro buildout() %} {%- macro buildout() %}
# deploy openssh-server for software upgrade # deploy openssh-server for software upgrade
#
# FIXME user-authorized-key is global for eNB. Either we need to put SSH server
# to be also global, or unroll an SSH server via paramiko inside
# ru/lopcomm/software.py just to handle software upgrades there.
[user-info] [user-info]
recipe = slapos.cookbook:userinfo recipe = slapos.cookbook:userinfo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment