Skip to content

Commit

Permalink
installer: support Siemens OS
Browse files Browse the repository at this point in the history
  • Loading branch information
dlt-green committed Mar 5, 2024
1 parent fe695b3 commit d36a882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ CheckDistribution() {
case $tmp in
'Ubuntu') VAR_DISTRIBUTION='Ubuntu' ;;
'Debian') VAR_DISTRIBUTION='Debian' ;;
'Siemens') VAR_DISTRIBUTION='Debian' ;;
*) echo "$rd"; echo "Distribution $tmp is not supported!"; echo "$xx"; exit ;;
esac
}
Expand Down Expand Up @@ -4646,7 +4647,7 @@ echo "╚═══════════════════════
echo ""
echo "> $gn""Checking Hash of Installer successful...""$xx"
echo "> $gn""$InstallerHash""$xx"
echo " $gr""$VAR_DISTRIBUTION | m=\"$opt_mode\" | t=\"$opt_time\" | r=\"$opt_reboot\" | c=\"$opt_check\" | l=\"$opt_level\"""$xx"
echo " $gr""$(cat /etc/issue | cut -d ' ' -f 1)"" | m=\"$opt_mode\" | t=\"$opt_time\" | r=\"$opt_reboot\" | c=\"$opt_check\" | l=\"$opt_level\"""$xx"

DEBIAN_FRONTEND=noninteractive sudo apt update >/dev/null 2>&1
DEBIAN_FRONTEND=noninteractive sudo apt-get install qrencode nano curl jq expect dnsutils ufw bc -y -qq >/dev/null 2>&1
Expand Down

0 comments on commit d36a882

Please sign in to comment.