Forráskód Böngészése

Merge pull request #155 from tteck/main

main
tteckster 3 éve
szülő
commit
26920ab1c1

+ 4 - 0
CHANGELOG.MD

@@ -13,6 +13,10 @@ All notable changes to this project will be documented in this file.
   - New V3 Install Script 
 - **Zwavejs2MQTT LXC**
   - New V3 Install Script
+- **ESPHome LXC**
+  - New V3 Install Script 
+- **Technitium DNS LXC**
+  - New V3 Install Script
 
 ## 2022-04-16
 

+ 6 - 6
README.md

@@ -335,16 +335,16 @@ Update from the Homebridge UI
 
 
 <details>
-<summary markdown="span"> ESPHome LXC</summary>
+<summary markdown="span"> 🔸ESPHome LXC</summary>
  
 <p align="center"><img src="https://github.com/home-assistant/brands/blob/master/core_integrations/esphome/dark_icon@2x.png?raw=true" height="100"/></p>
 
 <h1 align="center" id="heading"> ESPHome LXC </h1>
 
-To create a new Proxmox ESPHome LXC, run the following in the Proxmox Shell (V2).
+To create a new Proxmox ESPHome LXC, run the following in the Proxmox Shell.
 
 ```yaml
-bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/esphome.sh)"
+bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/esphome-v3.sh)"
 ```
 
 <h3 align="center" id="heading">⚡ Default Settings:  1GB RAM - 4GB Storage - 2vCPU ⚡</h3>
@@ -1120,17 +1120,17 @@ ________________________________________________________________________________
 </details>
 
 <details>
-<summary markdown="span"> Technitium DNS LXC</summary>
+<summary markdown="span"> 🔸Technitium DNS LXC</summary>
  
 <p align="center"><img src="https://avatars.githubusercontent.com/u/12230362?s=100&v=4" height="100"/></p>
 
 <h1 align="center" id="heading"> Technitium DNS LXC </h1>
 An open source authoritative as well as recursive DNS server
 
-To create a new Proxmox Technitium DNS LXC, run the following in the Proxmox Shell (V2).
+To create a new Proxmox Technitium DNS LXC, run the following in the Proxmox Shell.
 
 ```yaml
-bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/technitiumdns.sh)"
+bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/technitiumdns-v3.sh)"
 ```
 
 <h3 align="center" id="heading">⚡ Default Settings:  512MiB RAM - 2GB Storage - 1vCPU ⚡</h3>

+ 1 - 1
ct/debian-v3.sh

@@ -279,7 +279,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some applications may not work properly due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 
 msg_info "Starting LXC Container"

+ 1 - 1
ct/esphome-v3.sh

@@ -280,7 +280,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some addons may not work due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 
 msg_info "Starting LXC Container"

+ 1 - 1
ct/homeassistant-v3.sh

@@ -278,7 +278,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some applications may not work properly due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 cat <<EOF >> $LXC_CONFIG

+ 1 - 1
ct/technitiumdns-v3.sh

@@ -279,7 +279,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some addons may not work due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 
 msg_info "Starting LXC Container"

+ 1 - 1
ct/zigbee2mqtt-v3.sh

@@ -280,7 +280,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some addons may not work due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf

+ 1 - 1
ct/zwavejs2mqtt-v3.sh

@@ -279,7 +279,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some addons may not work due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 cat <<EOF >> $LXC_CONFIG

+ 1 - 0
setup/esphome-install.sh

@@ -49,6 +49,7 @@ msg_ok "Updated Container OS"
 msg_info "Installing Dependencies"
 apt-get install -y curl &>/dev/null
 apt-get install -y sudo &>/dev/null
+apt-get install -y git &>/dev/null
 msg_ok "Installed Dependencies"
 
 msg_info "Installing pip3"