tools/deployment/libvirt/install_packages.sh

18 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2019 Intel Corporation
#
# install_packages.sh - install required packages
sudo apt-get install virt-manager libvirt-bin qemu-system -y
cat << EOF | sudo tee /etc/libvirt/qemu.conf
user = "root"
group = "root"
EOF
sudo service libvirt-bin restart