2022-11-23 08:05:36 +00:00
|
|
|
#!/bin/bash
|
2023-01-31 14:20:25 +00:00
|
|
|
contextRoot="$(mktemp -d)";
|
2023-03-16 19:14:49 +00:00
|
|
|
pushd "$contextRoot" > /dev/null;
|
2023-01-31 14:11:02 +00:00
|
|
|
sudo apt install -y swtpm swtpm-tools lxc libvirt-daemon-driver-lxc libvirt-daemon-system virt-manager;
|
2023-01-31 14:20:25 +00:00
|
|
|
|
|
|
|
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;
|
2023-03-16 19:14:49 +00:00
|
|
|
popd > /dev/null;
|
2023-01-31 14:20:25 +00:00
|
|
|
rm -rf "$contextRoot";
|