Updated start-vm.sh
This commit is contained in:
parent
818922fb14
commit
80517a35b0
@ -9,8 +9,8 @@ TMP_DIR=$(mktemp -d)
|
|||||||
ORIGINAL_DISK=${SRC_DIR:?}/dist/qemu/wireguard.qcow2
|
ORIGINAL_DISK=${SRC_DIR:?}/dist/qemu/wireguard.qcow2
|
||||||
SNAPSHOT_DISK=${TMP_DIR:?}/snapshot.qcow2
|
SNAPSHOT_DISK=${TMP_DIR:?}/snapshot.qcow2
|
||||||
|
|
||||||
USERDATA_DISK=${TMP_DIR:?}/seed.img
|
|
||||||
USERDATA_YAML=${SRC_DIR:?}/qemu/http/seed/user-data
|
USERDATA_YAML=${SRC_DIR:?}/qemu/http/seed/user-data
|
||||||
|
USERDATA_DISK=${TMP_DIR:?}/seed.img
|
||||||
|
|
||||||
# Remove temporary files on exit
|
# Remove temporary files on exit
|
||||||
trap 'rm -rf "${TMP_DIR:?}"; trap - EXIT; exit 0' EXIT TERM INT HUP
|
trap 'rm -rf "${TMP_DIR:?}"; trap - EXIT; exit 0' EXIT TERM INT HUP
|
||||||
|
Loading…
Reference in New Issue
Block a user