6,534
edits
Changes
use vzlist for VE_PRIVATE
# Known snapshot ID
ID=$(uuidgen)
VE_PRIVATE=$(VEID=vzlist -H -o private $CTID; source /etc/vz/vz.conf; source /etc/vz/conf/$CTID.conf; echo $VE_PRIVATE)
# Take a snapshot without suspending a CT and saving its config
# Known snapshot ID
ID=$(uuidgen)
VE_PRIVATE=$(VEID=vzlist -H -o private $CTID; source /etc/vz/vz.conf; source /etc/vz/conf/$CTID.conf; echo $VE_PRIVATE)
# Take a snapshot without suspending a CT and saving its config