docs: add comments for the main VM variables
This commit is contained in:
parent
054f471f18
commit
622f6046c7
6
quickemu
6
quickemu
|
@ -1722,9 +1722,9 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source "${VM}"
|
source "${VM}"
|
||||||
|
|
||||||
VMDIR=$(dirname "${disk_img}")
|
VMDIR=$(dirname "${disk_img}") # directory the VM disk and state files are stored
|
||||||
VMNAME=$(basename "${VM}" .conf)
|
VMNAME=$(basename "${VM}" .conf) # name of the VM
|
||||||
VMPATH=$(realpath "$(dirname "${VM}")")
|
VMPATH=$(realpath "$(dirname "${VM}")") # path to the top-level VM directory
|
||||||
SOCKET_MONITOR="${VMDIR}/${VMNAME}-monitor.socket"
|
SOCKET_MONITOR="${VMDIR}/${VMNAME}-monitor.socket"
|
||||||
SOCKET_SERIAL="${VMDIR}/${VMNAME}-serial.socket"
|
SOCKET_SERIAL="${VMDIR}/${VMNAME}-serial.socket"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue