Install virt-bootstrap
This commit is contained in:
parent
e32ded272e
commit
cabaa0c34b
1 changed files with 9 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue