From 7ff8ec81e28d45af9c80ca3e6af76da45506bac5 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 29 Oct 2018 17:42:34 -0400 Subject: [PATCH] Device configuration deployment script Signed-off-by: Jonathan Rajotte --- lava/deploy_devices_dict.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 lava/deploy_devices_dict.sh diff --git a/lava/deploy_devices_dict.sh b/lava/deploy_devices_dict.sh new file mode 100755 index 0000000..ed95759 --- /dev/null +++ b/lava/deploy_devices_dict.sh @@ -0,0 +1,20 @@ +#!/bin/bash -exu +# +# Copyright (C) 2018 - Jonathan Rajotte-Julien +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Simple deployment of lava device dictionaries + +ssh -t -l lava lava-master-02.internal.efficios.com 'sudo ln -s /home/lava/lttng-ci/lava/devices/* /etc/lava-server/dispatcher-config/devices/' -- 2.34.1