1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00
Proxmox VE Helper-Scripts
Go to file
2021-08-12 11:12:03 -04:00
esphome_container.sh Update esphome_container.sh 2021-08-12 10:32:16 -04:00
esphome_setup.sh Update and rename setup1.sh to esphome_setup.sh 2021-08-12 10:29:49 -04:00
haos_vm.sh Add files via upload 2021-08-12 11:06:59 -04:00
LICENSE Initial commit 2021-08-12 09:24:57 -04:00
mqtt_container.sh Add files via upload 2021-08-12 10:54:21 -04:00
mqtt_setup.sh Add files via upload 2021-08-12 10:54:21 -04:00
node-red_container.sh Add files via upload 2021-08-12 10:46:24 -04:00
node-red_setup.sh Add files via upload 2021-08-12 10:46:24 -04:00
README.md Update README.md 2021-08-12 11:12:03 -04:00

Select A Proxmox Helper Below

Home Assistant OS VM

Proxmox VM with Home Assistant OS

To create a new Proxmox VM with the latest version of Home Assistant OS, run the following from Proxmox web shell

bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/haos_vm.sh)"

Default Settings: 4GB RAM - 32GB Storage - 2vCPU

After the script completes, If you're dissatisfied with the default settings, click on the VM, then on the Hardware tab and change the Memory and Processors settings to what you desire. Once all changes have been made, Start the VM.

ESPHome LXC

Proxmox ESPHome LXC Container

To create a new Proxmox ESPHome LXC Container, run the following from Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/esphome_container.sh)"
MQTT LXC

Proxmox MQTT LXC Container

To create a new Proxmox MQTT LXC Container, run the following in the Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/mqtt_container.sh)"

The commands below are entered through the newly created mqtt lxc console.

Mosquitto comes with a password file generating utility called mosquitto_passwd.

sudo mosquitto_passwd -c /etc/mosquitto/passwd <usr>

Password: < password >

Create a configuration file for Mosquitto pointing to the password file we have just created.

sudo nano /etc/mosquitto/conf.d/default.conf

This will open an empty file. Paste the following into it.

allow_anonymous false
password_file /etc/mosquitto/passwd

Save and exit the text editor with "Ctrl+O", "Enter" and "Ctrl+X".

Now restart Mosquitto server.

sudo systemctl restart mosquitto
Node-Red LXC

Proxmox Node-Red LXC Container

To create a new Proxmox Node-RED LXC Container, run the following in the Proxmox web shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/node-red_container.sh)"