
Add 2 scripts to help bring up vm for testing quickly: - kill-vm.sh - kills VM called apt-ostree - run-vm.sh - Creates and starts a vm called apt-ostree. You must specify the full path to the VM. Libvirt is required to run and kill the VM. Change-Id: Ia6b1c3ccaebdf9fcef644e986304049a29c8ebf5 Signed-off-by: Charles Short <charles.short@windriver.com>
12 lines
209 B
Bash
Executable File
12 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2023 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
name=$1
|
|
if [ -z $name ]; then
|
|
name="apt-ostree"
|
|
fi
|
|
sudo virsh destroy $name && sudo virsh undefine $name
|