WebVirtCloud is a virtualization web interface for admins and users. It can delegate Virtual Machine's to users. A noVNC viewer presents a full graphical console to the guest domain. KVM is currently the only hypervisor supported.
Why did I make this fork?
- The main line doesn't give me the option to use it in docker.
- I need a single command solution
- I am concerned about decisions that threaten the security of the server
- I don't like that JS makes requests to third party servers
- The main line has a complex configuration (I need to change
config.py
, generatetoken
, configure Reverse-Proxy) - The main line has many side files ( Vagrantfile, supervisor, runit)
I plan to inherit changes from the mainline as much as possible.
/etc/libvirt/libvirtd.conf
unix_sock_rw_perms = "0770"
unix_sock_group = "libvirt"
auth_unix_rw = "none"
make build
After that, you will have the image muratovas/webvirtcloud
docker network create --driver=macvlan -o parent=virbr0 -o macvlan_mode=bridge kvm_net
docker network create internet
kvm_net - needed to communicate the container with the virtual machine (optional) internet - bridge to the subnet of your host machine
You need to find out the host ip in the subnet internet
.
docker network inspect internet
Subsequently, register it in docker-compose.yml
environment:
KVM_HOST: "172.24.0.1"
make start
Does not require special settings. I am using nginx
.
login: admin
password: admin
Be careful to /etc/libvirt/libvirtd.conf
.
Set QEMU_CONSOLE_LISTENER_ADDRESSES
.
- Integrate
gstfsd:16510
- Decide what to do with
migrations
- Check
SSH
- Delete all external dependencies
JS