lxc-docker: fix mp restore

This commit is contained in:
Koushik Dutta
2024-10-18 09:16:50 -07:00
parent 7d157d2882
commit abb2b85cec

View File

@@ -148,9 +148,8 @@ then
exit 1
fi
PCT_CONFIG=$(pct config $RESTORE_VMID)
function move_volume() {
HAS_VOLUME=$(echo $PCT_CONFIG | grep $1:)
HAS_VOLUME=$(pct config $RESTORE_VMID | grep $1:)
if [ -n "$HAS_VOLUME" ]
then
echo "Moving $1..."