mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									2a2dd14c9a
								
							
						
					
					
						commit
						8d2e215c96
					
				| 
						 | 
					@ -13,7 +13,7 @@ setting_up_container
 | 
				
			||||||
network_check
 | 
					network_check
 | 
				
			||||||
update_os
 | 
					update_os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Dependencies, (Patience)"
 | 
					msg_info "Installing Dependencies (Patience)"
 | 
				
			||||||
$STD apt-get install -y \
 | 
					$STD apt-get install -y \
 | 
				
			||||||
  git \
 | 
					  git \
 | 
				
			||||||
  curl \
 | 
					  curl \
 | 
				
			||||||
| 
						 | 
					@ -43,10 +43,8 @@ $STD apt-get install -y \
 | 
				
			||||||
  python3-dev \
 | 
					  python3-dev \
 | 
				
			||||||
  python3-pip \
 | 
					  python3-pip \
 | 
				
			||||||
  python3-venv
 | 
					  python3-venv
 | 
				
			||||||
 | 
					 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ "$PCT_OSVERSION" == "11" ]]; then
 | 
					 | 
				
			||||||
msg_info "Installing pyenv"
 | 
					msg_info "Installing pyenv"
 | 
				
			||||||
$STD apt-get install -y \
 | 
					$STD apt-get install -y \
 | 
				
			||||||
  make \
 | 
					  make \
 | 
				
			||||||
| 
						 | 
					@ -70,11 +68,10 @@ if [[ "$PCT_OSVERSION" == "11" ]]; then
 | 
				
			||||||
. ~/.bashrc
 | 
					. ~/.bashrc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
  msg_info "Installing Python 3.11.3 (Patience)"
 | 
					msg_info "Installing Python 3.12.1 (Patience)"
 | 
				
			||||||
  $STD pyenv install 3.11.3
 | 
					$STD pyenv install 3.12.1
 | 
				
			||||||
  pyenv global 3.11.3
 | 
					pyenv global 3.12.1
 | 
				
			||||||
  msg_ok "Installed Python 3.11.3"
 | 
					msg_ok "Installed Python 3.12.1"
 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Home Assistant-Core"
 | 
					msg_info "Installing Home Assistant-Core"
 | 
				
			||||||
mkdir /srv/homeassistant
 | 
					mkdir /srv/homeassistant
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue