Merge pull request #155 from tteck/main

main
This commit is contained in:
tteckster 2022-04-17 17:29:49 -04:00 committed by GitHub
commit 26920ab1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 12 deletions

View File

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

View File

@ -335,16 +335,16 @@ Update from the Homebridge UI
<details> <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> <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> <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 ```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> <h3 align="center" id="heading">⚡ Default Settings: 1GB RAM - 4GB Storage - 2vCPU ⚡</h3>
@ -1120,17 +1120,17 @@ ________________________________________________________________________________
</details> </details>
<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> <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> <h1 align="center" id="heading"> Technitium DNS LXC </h1>
An open source authoritative as well as recursive DNS server 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 ```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> <h3 align="center" id="heading">⚡ Default Settings: 512MiB RAM - 2GB Storage - 1vCPU ⚡</h3>

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
msg_info "Starting LXC Container" msg_info "Starting LXC Container"

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
msg_info "Starting LXC Container" msg_info "Starting LXC Container"

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
cat <<EOF >> $LXC_CONFIG cat <<EOF >> $LXC_CONFIG

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
msg_info "Starting LXC Container" msg_info "Starting LXC Container"

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf LXC_CONFIG=/etc/pve/lxc/${CTID}.conf

View File

@ -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}') STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
if [ "$STORAGE_TYPE" == "zfspool" ]; then 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 fi
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
cat <<EOF >> $LXC_CONFIG cat <<EOF >> $LXC_CONFIG

View File

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