77c5b2f37d
Add apparmor model to install_packages.sh for deploying simplex in system without apparmor model. Closes-Bug: 1821699 Change-Id: Ia3dc596be53376822c6d9639ea9b506a9a5d178e Signed-off-by: hutianhao <hu.tianhao@99cloud.net>
18 lines
338 B
Bash
Executable File
18 lines
338 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 apparmor -y
|
|
|
|
cat << EOF | sudo tee /etc/libvirt/qemu.conf
|
|
user = "root"
|
|
group = "root"
|
|
EOF
|
|
|
|
sudo service libvirt-bin restart
|