0f807b611b
* use utils.sh script to copy certificates and owner in posttemplate * change vnc_proxy_cert and vnc_procy_key PATH in conf file
16 lines
306 B
Bash
Executable File
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
|