diff --git a/install/omada-install.sh b/install/omada-install.sh index f6bb625d..dc05b709 100644 --- a/install/omada-install.sh +++ b/install/omada-install.sh @@ -22,9 +22,9 @@ $STD apt-get install -y jsvc msg_ok "Installed Dependencies" msg_info "Installing Azul Zulu" -$STD apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 +wget -qO /etc/apt/trusted.gpg.d/zulu-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xB1998361219BD9C9" wget -q https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb -$STD apt-get install ./zulu-repo_1.0.0-3_all.deb +$STD dpkg -i zulu-repo_1.0.0-3_all.deb $STD apt-get update $STD apt-get -y install zulu8-jdk msg_ok "Installed Azul Zulu" @@ -45,7 +45,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -f Omada_SDN_Controller_v5.9.31_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb +rm -rf Omada_SDN_Controller_v5.9.31_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb $STD apt-get autoremove $STD apt-get autoclean msg_ok "Cleaned"