mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
10435 change gotty to be downloaded from firefly
This commit is contained in:
parent
ecf89a7b04
commit
df86a428b7
@ -4,6 +4,7 @@
|
|||||||
##############################################################################################################
|
##############################################################################################################
|
||||||
## Tested versions ##
|
## Tested versions ##
|
||||||
# Ubuntu 22.04.1
|
# Ubuntu 22.04.1
|
||||||
|
# Ubuntu 22.04.2
|
||||||
|
|
||||||
#avoid promps
|
#avoid promps
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -431,7 +431,7 @@ execute_cmd "curl -LSs --output pandorafms_agent_linux-7.0NG.noarch.rpm ${PANDOR
|
|||||||
execute_cmd "yum install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "installing PandoraFMS packages"
|
execute_cmd "yum install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "installing PandoraFMS packages"
|
||||||
|
|
||||||
# Copy gotty utility
|
# Copy gotty utility
|
||||||
execute_cmd "wget https://pandorafms.com/library/wp-content/uploads/2019/11/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
execute_cmd "wget https://firefly.pandorafms.com/pandorafms/utils/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
||||||
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
||||||
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
## Tested versions ##
|
## Tested versions ##
|
||||||
# Centos 8.4, 8.5
|
# Centos 8.4, 8.5
|
||||||
# Rocky 8.4, 8.5, 8.6, 8.7
|
# Rocky 8.4, 8.5, 8.6, 8.7
|
||||||
# Almalinuz 8.4, 8.5
|
# Almalinux 8.4, 8.5
|
||||||
# RedHat 8.5
|
# RedHat 8.5
|
||||||
|
|
||||||
#Constants
|
#Constants
|
||||||
@ -530,7 +530,7 @@ execute_cmd "curl -LSs --output pandorafms_agent_linux-7.0NG.noarch.rpm ${PANDOR
|
|||||||
execute_cmd "dnf install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "Installing Pandora FMS packages"
|
execute_cmd "dnf install -y $HOME/pandora_deploy_tmp/pandorafms*.rpm" "Installing Pandora FMS packages"
|
||||||
|
|
||||||
# Copy gotty utility
|
# Copy gotty utility
|
||||||
execute_cmd "wget https://pandorafms.com/library/wp-content/uploads/2019/11/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
execute_cmd "wget https://firefly.pandorafms.com/pandorafms/utils/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
||||||
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
||||||
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
##############################################################################################################
|
##############################################################################################################
|
||||||
## Tested versions ##
|
## Tested versions ##
|
||||||
# Ubuntu 22.04.1
|
# Ubuntu 22.04.1
|
||||||
|
# Ubuntu 22.04.2
|
||||||
|
|
||||||
#avoid promps
|
#avoid promps
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
@ -496,7 +497,7 @@ check_cmd_status "Error installing PandoraFMS Agent"
|
|||||||
|
|
||||||
# Copy gotty utility
|
# Copy gotty utility
|
||||||
cd $WORKDIR &>> "$LOGFILE"
|
cd $WORKDIR &>> "$LOGFILE"
|
||||||
execute_cmd "wget https://pandorafms.com/library/wp-content/uploads/2019/11/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
execute_cmd "wget https://firefly.pandorafms.com/pandorafms/utils/gotty_linux_amd64.tar.gz" 'Dowloading gotty util'
|
||||||
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
tar xvzf gotty_linux_amd64.tar.gz &>> $LOGFILE
|
||||||
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
execute_cmd "mv gotty /usr/bin/" 'Installing gotty util'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user