Skip to content
Snippets Groups Projects
Commit d8d49559 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Moved MS deploy setup in a dedicated action.

parent 7b2b241a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
source /root/envsetup/conf.sh
# installation mediaserver
# Ms package install
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-mediaserver
# session ms
# MS instance
msinstaller.py msuser
# copy MS_deploy.sh to /var/tmp
cp MS_deploy.sh /var/tmp/MS_deploy.sh
#!/bin/bash
source /root/envsetup/conf.sh
echo "Copying MS_deploy.sh"
cp -v MS_deploy.sh /var/tmp/MS_deploy.sh
#!/bin/bash
set -e
# This script installs a MS/worker/campus-manager/cache/MV through envsetup on a machine
# This script installs a MS/worker/campus-manager/cache/MV using envsetup on a system
# Prerequisites
# 1. create DNS entries
# alpha-auto.ubicast.net
# cm-alpha-auto.ubicast.net
# monitor-alpha-auto.ubicast.net
# 2. create machine in panel
# 3. envsetup-launcher.sh
# alpha.ubicast.net
# alpha-cm.ubicast.net
# alpha-mon.ubicast.net
# 2. create system in panel
# 3. launcher.sh
# log
LOGFILE=/root/$(date +%F)_envsetup.log
exec > >(tee -i ${LOGFILE})
## envsetup integration
## envsetup action calls
init() {
python3 /root/envsetup/envsetup.py 11
python3 /root/envsetup/envsetup.py 12
......@@ -45,6 +43,7 @@ mediaserver() {
python3 /root/envsetup/envsetup.py 25
python3 /root/envsetup/envsetup.py 51
python3 /root/envsetup/envsetup.py 52
python3 /root/envsetup/envsetup.py 53
python3 /root/envsetup/envsetup.py 25
}
......@@ -89,7 +88,7 @@ reconf_default() {
python3 /root/envsetup/envsetup.py 204
}
WOWZA_LICENSE() {
wowza_license() {
python3 /root/envsetup/envsetup.py 205
}
......@@ -148,7 +147,7 @@ case "$1" in
;;
"wrecette")
WOWZA_LICENSE
wowza_license
reconf_dump_config
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment