From e994ce793ca06bbd62ea98e79e478137fabe9d70 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 18 Dec 2022 06:29:56 -0500 Subject: [PATCH] Update hacore2hacontainer-data.sh check PVE --- misc/hacore2hacontainer-data.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/hacore2hacontainer-data.sh b/misc/hacore2hacontainer-data.sh index ec40b43c..ab037fc1 100644 --- a/misc/hacore2hacontainer-data.sh +++ b/misc/hacore2hacontainer-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 Core LXC to a Home Assistant Container LXC. Proceed(y/n)?" yn case $yn in