From 2cd65b00084436d1f7a087681ecac24c1bb57734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Sun, 10 Oct 2021 00:12:49 +0200 Subject: [PATCH] Update git repository location --- image/imgen.tf | 10 +++++----- image/motd | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/image/imgen.tf b/image/imgen.tf index c5116e6..5908548 100644 --- a/image/imgen.tf +++ b/image/imgen.tf @@ -65,18 +65,18 @@ write_files: permissions: 0755 content: | #! /bin/sh - + # # script to set the hostname (except /etc/hosts) # - + if [ -z "$1" ]; then echo "Usage: $0 HOSTNAME [DOMAIN]" exit 0 fi h="$1" d="$2" - + sed -e "s/^\(manage_etc_hosts\):.*/\1: False/" -i /etc/cloud/cloud.cfg echo "$h" > /etc/hostname hostname "$h" @@ -103,7 +103,7 @@ write_files: content: | [Definition] dbpurgeage = 16w - + [DEFAULT] bantime = 8w @@ -111,7 +111,7 @@ runcmd: - apt-get purge -y joe nano - ln -sv /usr/lib/mc/mc.* /etc/profile.d/ - /usr/local/sbin/set-hostname.sh imgen terra - - su - debian -c 'git clone https://gitlab.meta.zcu.cz/HADOOP/terraform' + - su - debian -c 'git clone https://gitlab.cesnet.cz/702/HADOOP/terraform' EOT } } diff --git a/image/motd b/image/motd index 259c746..da46d2d 100644 --- a/image/motd +++ b/image/motd @@ -5,4 +5,4 @@ To setup Hadoop on single machine, launch: To setup Hadoop cluster using terraform and scripts, use [1]. -[1] https://gitlab.meta.zcu.cz/HADOOP/terraform +[1] https://gitlab.cesnet.cz/702/HADOOP/terraform -- GitLab