eole-one-frontend/posttemplate/02-nebula-novnc
Gérald Schwartzmann 0f807b611b Change rights for use certificates ref #25493
* use utils.sh script to copy certificates and owner in posttemplate
* change vnc_proxy_cert and vnc_procy_key PATH in conf file
2018-10-09 16:09:29 +02:00

16 lines
306 B
Bash
Executable File

#!/bin/bash
###########
## novnc ##
###########
. /usr/lib/eole/utils.sh
# Install ssl files
user=$(systemctl -p Group show --value opennebula-novnc)
group=$(systemctl -p User show --value opennebula-novnc)
novnc_conf_dir="/etc/one"
InstallSSLFiles novnc $user $group ${novnc_conf_dir}/ssl root
exit 0