#!/bin/bash

	AY_SERVER="https://smt.campuslan.de"	

	# copy this file if newer
#	cd /usr/local/ncif
#	wget -N $AY_SERVER/scripts/copy-tools.sh

	# copy anything located in /repo/tools25
	if [ ! -d /tmp/tools ]; then
	   mkdir -p /tmp/tools
	fi

	cd /tmp/tools
	wget --cut-dir=2 -np -nH -r -N -R "index.html*" $AY_SERVER/repo/tools25/

        rpm -Uvh hwloc-data-2.11.2-150700.1.4.noarch.rpm
        rpm -Uvh libhwloc15-2.11.2-150700.1.4.x86_64.rpm
        rpm -Uvh mc-4.8.30-bp157.1.4.x86_64.rpm mc-lang-4.8.30-bp157.1.4.noarch.rpm
        rpm -Uvh htop-3.4.1-bp157.1.1.x86_64.rpm
        rpm -Uvh btop-1.2.5-bp157.1.9.x86_64.rpm
        
  systemctl enable qemu-guest-agent
  systemctl disable oes-cis-agent.service
  systemctl disable oes-cis-scanner.service 
  systemctl disable oes-dashboard-agent.service 
  systemctl disable oes-telemetry.service
  systemctl disable oes-cis-recall-agent.service 
  systemctl disable oes-telemetry-agent.service
  systemctl disable kdump.service


exit 0
