From: Jonathan Rajotte Date: Mon, 29 Oct 2018 21:42:34 +0000 (-0400) Subject: Device configuration deployment script X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7ff8ec81e28d45af9c80ca3e6af76da45506bac5;p=lttng-ci.git Device configuration deployment script Signed-off-by: Jonathan Rajotte --- 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/'