mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +00:00
Update ha_setup.sh
This commit is contained in:
parent
e9b8de9944
commit
2ccec15dba
12
ha_setup.sh
12
ha_setup.sh
@ -47,8 +47,11 @@ cat >$DOCKER_CONFIG_PATH <<'EOF'
|
||||
}
|
||||
EOF
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Docker.io... \e[0m"
|
||||
apt-get install -y docker.io &>/dev/null
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Docker... \e[0m"
|
||||
sh <(curl -sSL https://get.docker.com) &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Pulling Portainer Image...\e[0m"
|
||||
docker pull docker.io/homeassistant/home-assistant:stable &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Portainer... \e[0m"
|
||||
docker volume create portainer_data >/dev/null
|
||||
@ -61,6 +64,9 @@ docker run -d \
|
||||
-v portainer_data:/data \
|
||||
portainer/portainer-ce:latest &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Pulling Home Assistant Image...\e[0m"
|
||||
docker pull docker.io/homeassistant/home-assistant:stable &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Home Assistant... \e[0m"
|
||||
docker volume create hass_config >/dev/null
|
||||
docker run -d \
|
||||
@ -74,7 +80,7 @@ docker run -d \
|
||||
--net=host \
|
||||
homeassistant/home-assistant:stable &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
|
||||
echo -e "${CHECKMARK} \e[1;92m Customizing LXC... \e[0m"
|
||||
rm /etc/motd
|
||||
rm /etc/update-motd.d/10-uname
|
||||
touch ~/.hushlogin
|
||||
|
Loading…
Reference in New Issue
Block a user