Install virt-bootstrap

This commit is contained in:
Manuel Thalmann 2023-01-31 15:20:25 +01:00
parent 5dcdcceaf0
commit 8b637483c5

View file

@ -1,2 +1,11 @@
#!/bin/bash
contextRoot="$(mktemp -d)";
pushd "$contextRoot";
sudo apt install -y swtpm swtpm-tools lxc libvirt-daemon-driver-lxc libvirt-daemon-system virt-manager;
sudo apt install -y python3 python-is-python3 python3-guestfs python3-passlib;
git clone https://github.com/virt-manager/virt-bootstrap;
cd virt-bootstrap;
sudo python setup.py install;
popd;
rm -rf "$contextRoot";