mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-27 00:53:16 +01:00
commit
26920ab1c1
@ -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
|
||||||
|
|
||||||
|
12
README.md
12
README.md
@ -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>
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user