mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									a79ecedb80
								
							
						
					
					
						commit
						d3bceff8ae
					
				| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
$STD apt-get install -y gnupg
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
$STD apt-get install -y apt-transport-https
 | 
			
		||||
$STD apt-get install -y software-properties-common
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
$STD apt-get install -y gnupg
 | 
			
		||||
$STD apt-get install -y openjdk-8-jre-headless
 | 
			
		||||
$STD apt-get install -y jsvc
 | 
			
		||||
| 
						 | 
				
			
			@ -86,9 +87,9 @@ wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiv
 | 
			
		|||
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Omada Controller v5.7.4"
 | 
			
		||||
wget -qL https://static.tp-link.com/upload/software/2022/202211/20221121/Omada_SDN_Controller_v5.7.4_Linux_x64.deb
 | 
			
		||||
$STD dpkg -i Omada_SDN_Controller_v5.7.4_Linux_x64.deb
 | 
			
		||||
msg_info "Installing Omada Controller v5.8.4"
 | 
			
		||||
wget -qL https://static.tp-link.com/upload/software/2023/202301/20230130/Omada_SDN_Controller_v5.8.4_Linux_x64.tar.gz
 | 
			
		||||
$STD dpkg -i Omada_SDN_Controller_v5.8.4_Linux_x64.deb
 | 
			
		||||
msg_ok "Installed Omada Controller"
 | 
			
		||||
 | 
			
		||||
echo "export TERM='xterm-256color'" >>/root/.bashrc
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +111,7 @@ fi
 | 
			
		|||
if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi
 | 
			
		||||
 | 
			
		||||
msg_info "Cleaning up"
 | 
			
		||||
rm -rf Omada_SDN_Controller_v5.7.4_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb
 | 
			
		||||
rm -rf Omada_SDN_Controller_v5.8.4_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb
 | 
			
		||||
$STD apt-get autoremove
 | 
			
		||||
$STD apt-get autoclean
 | 
			
		||||
msg_ok "Cleaned"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
$STD apt-get install -y gnupg
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -86,7 +86,7 @@ if [ "$ubuntuversion" = "18" ] || [ "$ubuntuversion" -le "18" ]; then
 | 
			
		|||
fi
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl sudo git
 | 
			
		||||
$STD apt-get install -y curl sudo git mc
 | 
			
		||||
$STD apt-get install -y make zip net-tools
 | 
			
		||||
$STD apt-get install -y gcc g++ cmake
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
 | 
			
		|||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y curl
 | 
			
		||||
$STD apt-get install -y sudo
 | 
			
		||||
$STD apt-get install -y mc
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
echo "export TERM='xterm-256color'" >>/root/.bashrc
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue