Install virt-bootstrap

This commit is contained in:
Manuel Thalmann 2023-01-31 15:20:25 +01:00
parent e32ded272e
commit cabaa0c34b

View file

@ -1,2 +1,11 @@
#!/bin/bash #!/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 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";