mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Applying changes from the latest Pull request
This commit is contained in:
		
							parent
							
								
									56d5e5a8cf
								
							
						
					
					
						commit
						0370c8798c
					
				| 
						 | 
					@ -75,7 +75,5 @@ build_container
 | 
				
			||||||
description
 | 
					description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${APP} is installed! For security purposes, ${APP} is only reachable from localhost.\n
 | 
					echo -e "${APP} should be reachable by going to the following URL.
 | 
				
			||||||
To access the ${APP} dashboard, please adjust ${BL}server.host${CL} in ${BL}/etc/kibana/kibana.yml${CL}.\n
 | 
					 | 
				
			||||||
After that, ${APP} should bre reachable at
 | 
					 | 
				
			||||||
             ${BL}http://${IP}:5601${CL}\n"
 | 
					             ${BL}http://${IP}:5601${CL}\n"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,12 +15,12 @@ network_check
 | 
				
			||||||
update_os
 | 
					update_os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Dependencies"
 | 
					msg_info "Installing Dependencies"
 | 
				
			||||||
 | 
					$STD apt-get install -y curl
 | 
				
			||||||
$STD apt-get install -y apt-transport-https
 | 
					$STD apt-get install -y apt-transport-https
 | 
				
			||||||
$STD apt-get install -y gnupg
 | 
					$STD apt-get install -y gnupg
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Setting up Elastic Repository"
 | 
					msg_info "Setting up Elastic Repository"
 | 
				
			||||||
mkdir -p /etc/apt/keyrings
 | 
					 | 
				
			||||||
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
 | 
					wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
 | 
				
			||||||
echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" >/etc/apt/sources.list.d/elastic-8.x.list
 | 
					echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" >/etc/apt/sources.list.d/elastic-8.x.list
 | 
				
			||||||
msg_ok "Set up Elastic Repository"
 | 
					msg_ok "Set up Elastic Repository"
 | 
				
			||||||
| 
						 | 
					@ -30,6 +30,11 @@ $STD apt-get update
 | 
				
			||||||
$STD apt-get install -y kibana
 | 
					$STD apt-get install -y kibana
 | 
				
			||||||
msg_ok "Installed Kibana"
 | 
					msg_ok "Installed Kibana"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					msg_info "Configuring hostname"
 | 
				
			||||||
 | 
					IP=$(hostname -I | awk '{print $1}')
 | 
				
			||||||
 | 
					sed -i -E "s/#server.host: \"localhost\"/server.host: \"${IP}\"/" /etc/kibana/kibana.yml
 | 
				
			||||||
 | 
					msg_ok "Configured hostname"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Creating Service"
 | 
					msg_info "Creating Service"
 | 
				
			||||||
cat <<EOF >/etc/systemd/system/Kibana.service
 | 
					cat <<EOF >/etc/systemd/system/Kibana.service
 | 
				
			||||||
[Unit]
 | 
					[Unit]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue