mirror of https://github.com/tteck/Proxmox.git
Compare commits
12 Commits
4b976b31dc
...
8a98b3d24e
Author | SHA1 | Date |
---|---|---|
|
8a98b3d24e | |
|
4ecb33e99d | |
|
cb970e8873 | |
|
70cedc41e5 | |
|
dcad1abbbb | |
|
09cc28b017 | |
|
942fd3fda2 | |
|
f76bfa3037 | |
|
f3b9b0fdf0 | |
|
6fac4f32ae | |
|
33bd34458f | |
|
400a82f25c |
|
@ -573,9 +573,12 @@ EOF
|
||||||
# This function sets the description of the container.
|
# This function sets the description of the container.
|
||||||
description() {
|
description() {
|
||||||
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
pct set "$CTID" -description "# ${APP} LXC
|
pct set "$CTID" -description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://tteck.github.io/Proxmox/
|
|
||||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
|
# ${APP} LXC
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>"
|
||||||
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
|
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
|
||||||
systemctl start ping-instances.service
|
systemctl start ping-instances.service
|
||||||
fi
|
fi
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
|
@ -410,9 +410,12 @@ qm set $VMID \
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=2G \
|
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=2G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-serial0 socket \
|
-serial0 socket \
|
||||||
-description "# Debian 12 VM
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# Debian 12
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created a Debian 12 VM ${CL}${BL}(${HN})"
|
msg_ok "Created a Debian 12 VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting Debian 12 VM"
|
msg_info "Starting Debian 12 VM"
|
||||||
|
|
|
@ -429,9 +429,12 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
-efidisk0 ${DISK0_REF}${FORMAT} \
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \
|
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "# Home Assistant OS
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# Home Assistant OS
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created HAOS VM ${CL}${BL}(${HN})"
|
msg_ok "Created HAOS VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting Home Assistant OS VM"
|
msg_info "Starting Home Assistant OS VM"
|
||||||
|
|
|
@ -273,9 +273,12 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF},efitype=4m,size=4M \
|
-efidisk0 ${DISK0_REF},efitype=4m,size=4M \
|
||||||
-scsi0 ${DISK1_REF},size=2G \
|
-scsi0 ${DISK1_REF},size=2G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "# Mikrotik RouterOS VM
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# Mikrotik RouterOS
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Mikrotik RouterOS VM ${CL}${BL}(${HN})"
|
msg_ok "Mikrotik RouterOS VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting Mikrotik RouterOS VM"
|
msg_info "Starting Mikrotik RouterOS VM"
|
||||||
|
|
|
@ -408,9 +408,12 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
-efidisk0 ${DISK0_REF}${FORMAT} \
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=12G \
|
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=12G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "# $NAME
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# $NAME
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created a $NAME ${CL}${BL}(${HN})"
|
msg_ok "Created a $NAME ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting $NAME"
|
msg_info "Starting $NAME"
|
||||||
|
|
|
@ -475,9 +475,12 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF},efitype=4m,size=4M \
|
-efidisk0 ${DISK0_REF},efitype=4m,size=4M \
|
||||||
-scsi0 ${DISK1_REF},size=512M \
|
-scsi0 ${DISK1_REF},size=512M \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "# OpenWrt VM
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# OpenWRT
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created OpenWrt VM ${CL}${BL}(${HN})"
|
msg_ok "Created OpenWrt VM ${CL}${BL}(${HN})"
|
||||||
msg_info "OpenWrt is being started in order to configure the network interfaces."
|
msg_info "OpenWrt is being started in order to configure the network interfaces."
|
||||||
qm start $VMID
|
qm start $VMID
|
||||||
|
|
|
@ -408,9 +408,12 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
-efidisk0 ${DISK0_REF}${FORMAT} \
|
||||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=12G \
|
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=12G \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-description "# TurnKey ownCloud VM
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# TurnKey ownCloud VM
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created a TurnKey ownCloud VM ${CL}${BL}(${HN})"
|
msg_ok "Created a TurnKey ownCloud VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting TurnKey ownCloud VM"
|
msg_info "Starting TurnKey ownCloud VM"
|
||||||
|
|
|
@ -314,10 +314,13 @@ qm set $VMID \
|
||||||
-efidisk0 ${DISK0_REF},efitype=4m,size=64M \
|
-efidisk0 ${DISK0_REF},efitype=4m,size=64M \
|
||||||
-scsi0 ${DISK1_REF},size=32G >/dev/null
|
-scsi0 ${DISK1_REF},size=32G >/dev/null
|
||||||
qm set $VMID \
|
qm set $VMID \
|
||||||
-boot order=scsi0 >/dev/null
|
-boot order=scsi0 \
|
||||||
qm set $VMID -description "# PiMox HAOS
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# Home Assistant OS
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created HAOS VM ${CL}${BL}(${HN})"
|
msg_ok "Created HAOS VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting Home Assistant OS VM"
|
msg_info "Starting Home Assistant OS VM"
|
||||||
|
|
|
@ -411,9 +411,12 @@ qm set $VMID \
|
||||||
-ide2 ${STORAGE}:cloudinit \
|
-ide2 ${STORAGE}:cloudinit \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-serial0 socket \
|
-serial0 socket \
|
||||||
-description "# Ubuntu 22.04 VM
|
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
### https://github.com/tteck/Proxmox
|
|
||||||
[](https://ko-fi.com/D1D7EP4GF)" >/dev/null
|
# Ubuntu 22.04 VM
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
|
</div>" >/dev/null
|
||||||
msg_ok "Created a Ubuntu 22.04 VM ${CL}${BL}(${HN})"
|
msg_ok "Created a Ubuntu 22.04 VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
msg_info "Starting Ubuntu 22.04 VM"
|
msg_info "Starting Ubuntu 22.04 VM"
|
||||||
|
|
Loading…
Reference in New Issue