mirror of
https://github.com/bitnami/minideb.git
synced 2026-06-04 10:13:55 +08:00
0482e1fe53
Changed libvirt-bin to libvirt-daemon-system libvirt-clients as docmented in https://lists.debian.org/debian-user/2016/11/msg00518.html Signed-off-by: Bob Tanner <tanner@real-time.com>
20 lines
412 B
Bash
Executable File
20 lines
412 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
do_sudo() {
|
|
if [[ "0" == "$(id --user)" ]]; then
|
|
"$@"
|
|
else
|
|
sudo "$@"
|
|
fi
|
|
}
|
|
|
|
while do_sudo fuser /var/{lib/{dpkg,apt/lists},cache/apt/archives}/lock >/dev/null 2>&1; do
|
|
sleep 1
|
|
done
|
|
|
|
do_sudo apt-get update
|
|
do_sudo apt-get install -y qemu-kvm libvirt-daemon-system libvirt-clients qemu-utils genisoimage virtinst curl rsync qemu-system-x86 qemu-system-arm cloud-image-utils
|
|
|