Update hacore2hacontainer-data.sh

check PVE
This commit is contained in:
tteckster 2022-12-18 06:29:56 -05:00 committed by GitHub
parent deb681a211
commit e994ce793c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/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 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 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 case $yn in