Update hacontainer2hacore-data.sh

check PVE
This commit is contained in:
tteckster 2022-12-18 06:26:33 -05:00 committed by GitHub
parent daa9b78019
commit 44da618041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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