From 44da61804129380be1812826d602446f305ae50a Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 18 Dec 2022 06:26:33 -0500 Subject: [PATCH] Update hacontainer2hacore-data.sh check PVE --- misc/hacontainer2hacore-data.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/hacontainer2hacore-data.sh b/misc/hacontainer2hacore-data.sh index e6563275..29728e47 100644 --- a/misc/hacontainer2hacore-data.sh +++ b/misc/hacontainer2hacore-data.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +clear +if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Run from the Proxmox Shell"; exit; fi while true; do read -p "Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn case $yn in