Initial commit, cambio todo lo que apunta a github por el mio
This commit is contained in:
@@ -194,6 +194,6 @@ customize() {
|
||||
msg_ok "Customized Container"
|
||||
fi
|
||||
|
||||
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||
echo "bash -c \"\$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||
chmod +x /usr/bin/update
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Copyright (c) 2021-2025 community-scripts ORG
|
||||
# Author: michelroegl-brunner
|
||||
# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/LICENSE
|
||||
# License: MIT | https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/main/LICENSE
|
||||
|
||||
post_to_api() {
|
||||
|
||||
|
||||
+8
-8
@@ -14,7 +14,7 @@ variables() {
|
||||
RANDOM_UUID="$(cat /proc/sys/kernel/random/uuid)" # generates a random UUID and sets it to the RANDOM_UUID variable.
|
||||
}
|
||||
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
|
||||
source <(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/api.func)
|
||||
|
||||
# This function sets various color variables using ANSI escape codes for formatting text in the terminal.
|
||||
color() {
|
||||
@@ -68,7 +68,7 @@ catch_errors() {
|
||||
|
||||
# This function is called when an error occurs. It receives the exit code, line number, and command that caused the error, and displays an error message.
|
||||
error_handler() {
|
||||
source /dev/stdin <<<$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
|
||||
source /dev/stdin <<<$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/api.func)
|
||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID >/dev/null; then kill $SPINNER_PID >/dev/null; fi
|
||||
printf "\e[?25h"
|
||||
local exit_code="$?"
|
||||
@@ -290,7 +290,7 @@ update_motd_ip() {
|
||||
# Function to download & save header files
|
||||
get_header() {
|
||||
local app_name=$(echo "${APP,,}" | tr -d ' ')
|
||||
local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/headers/${app_name}"
|
||||
local header_url="https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/main/ct/headers/${app_name}"
|
||||
local local_header_path="/usr/local/community-scripts/headers/${app_name}"
|
||||
|
||||
mkdir -p "$(dirname "$local_header_path")"
|
||||
@@ -1097,9 +1097,9 @@ build_container() {
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
if [ "$var_os" == "alpine" ]; then
|
||||
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/alpine-install.func)"
|
||||
export FUNCTIONS_FILE_PATH="$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/alpine-install.func)"
|
||||
else
|
||||
export FUNCTIONS_FILE_PATH="$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/install.func)"
|
||||
export FUNCTIONS_FILE_PATH="$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/install.func)"
|
||||
fi
|
||||
export RANDOM_UUID="$RANDOM_UUID"
|
||||
export CACHER="$APT_CACHER"
|
||||
@@ -1131,7 +1131,7 @@ build_container() {
|
||||
$PW
|
||||
"
|
||||
# This executes create_lxc.sh and creates the container and .conf file
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" || exit $?
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/ct/create_lxc.sh)" || exit $?
|
||||
|
||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||
if [ "$CT_TYPE" == "0" ]; then
|
||||
@@ -1193,7 +1193,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
||||
EOF'
|
||||
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
||||
fi
|
||||
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/$var_install.sh)" || exit $?
|
||||
lxc-attach -n "$CTID" -- bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/install/$var_install.sh)" || exit $?
|
||||
|
||||
}
|
||||
|
||||
@@ -1206,7 +1206,7 @@ description() {
|
||||
cat <<EOF
|
||||
<div align='center'>
|
||||
<a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
|
||||
<img src='https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/>
|
||||
<img src='https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width:81px;height:112px;'/>
|
||||
</a>
|
||||
|
||||
<h2 style='font-size: 24px; margin: 20px 0;'>${APP} LXC</h2>
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ function clean_container() {
|
||||
header_info
|
||||
name=$(pct exec "$container" hostname)
|
||||
echo -e "${BL}[Info]${GN} Cleaning ${name} ${CL} \n"
|
||||
pct exec $container -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
|
||||
pct exec $container -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
|
||||
}
|
||||
for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
||||
if [[ " ${excluded_containers[@]} " =~ " $container " ]]; then
|
||||
|
||||
@@ -2,45 +2,45 @@
|
||||
<div align="center"> To copy data from Home Assistant Container to Home Assistant Container </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Home Assistant Container to Home Assistant Core </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Home Assistant Container to Podman Home Assistant </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Podman Home Assistant to Home Assistant Container </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Home Assistant Core to Home Assistant Container </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Home Assistant Core to Home Assistant Core </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Plex to Plex </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/plex-copy-data-plex.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/plex-copy-data-plex.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Zigbee2MQTT to Zigbee2MQTT </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/z2m-copy-data-z2m.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/z2m-copy-data-z2m.sh)"
|
||||
```
|
||||
<div align="center"> To copy data from Zwavejs2MQTT to Zwave JS UI </div>
|
||||
|
||||
```
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)"
|
||||
bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)"
|
||||
```
|
||||
|
||||
@@ -128,4 +128,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from one Home Assistant LXC to another
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-container.sh)"
|
||||
|
||||
@@ -124,4 +124,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-home-assistant-core.sh)"
|
||||
|
||||
@@ -129,4 +129,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-container-copy-data-podman-home-assistant.sh)"
|
||||
|
||||
@@ -124,4 +124,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-container.sh)"
|
||||
|
||||
@@ -123,4 +123,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
|
||||
|
||||
@@ -128,4 +128,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from one Plex Media Server LXC to another
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/plex-copy-data-plex.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/plex-copy-data-plex.sh)"
|
||||
|
||||
@@ -129,4 +129,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC.
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/podman-home-assistant-copy-data-home-assistant-container.sh)"
|
||||
|
||||
@@ -128,4 +128,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from one Zigbee2MQTT LXC to another
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/z2m-copy-data-z2m.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/z2m-copy-data-z2m.sh)"
|
||||
|
||||
@@ -130,4 +130,4 @@ info "Successfully Transferred Data."
|
||||
|
||||
# Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC
|
||||
# run from the Proxmox Shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh)"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/cron-update-lxcs.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/cron-update-lxcs.sh)"
|
||||
|
||||
clear
|
||||
cat <<"EOF"
|
||||
@@ -25,7 +25,7 @@ add() {
|
||||
*) echo "Please answer yes or no." ;;
|
||||
esac
|
||||
done
|
||||
sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -'
|
||||
sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c \"\$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/update-lxcs-cron.sh)\" >>/var/log/update-lxcs-cron.log 2>/dev/null") | crontab -u root -'
|
||||
clear
|
||||
echo -e "\n To view Cron Update LXCs logs: cat /var/log/update-lxcs-cron.log"
|
||||
}
|
||||
|
||||
@@ -89,5 +89,5 @@ EOF
|
||||
echo -e "\e[1;33m \nFinished....Reboot ${CTID} LXC to apply the changes.\n \e[0m"
|
||||
|
||||
# In the Proxmox web shell run
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/frigate-support.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/frigate-support.sh)"
|
||||
# Reboot the LXC to apply the changes
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# License: MIT
|
||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Execute within the Proxmox shell
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/hw-acceleration.sh)"
|
||||
# bash -c "$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/hw-acceleration.sh)"
|
||||
|
||||
set -e
|
||||
function header_info {
|
||||
|
||||
+2
-2
@@ -68,7 +68,7 @@ catch_errors() {
|
||||
|
||||
# This function handles errors
|
||||
error_handler() {
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
|
||||
source <(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/misc/api.func)
|
||||
if [ -n "$SPINNER_PID" ] && ps -p "$SPINNER_PID" >/dev/null; then kill "$SPINNER_PID" >/dev/null; fi
|
||||
printf "\e[?25h"
|
||||
local exit_code="$?"
|
||||
@@ -265,7 +265,7 @@ EOF
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
msg_ok "Customized Container"
|
||||
fi
|
||||
echo "bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||
echo "bash -c \"\$(https://docker.imqnavarra.com:3000/jjripaper/ProxmoxVE/raw/branch/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||
chmod +x /usr/bin/update
|
||||
|
||||
if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user