foreman
anlegenLibVirt-Zugriff für Mitglieder der Gruppe libvirt
zulassen:
cat > /etc/libvirt/libvirtd.conf <<EOF
unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"
unix_sock_admin_perms = "0770"
EOF
systemctl restart libvirt.service
User für den Remote-Zugriff anlegen:
useradd -m -d /home/foreman -G libvirt -s /bin/bin -U foreman
sudo -u foreman mkdir -m 0700 /home/foreman/.ssh
sudo -u foreman vi /home/foreman/.ssh/authorized_keys
Infrastructure->Compute resources->Create Compute Resource
libvirt
qemu+ssh://root@192.168.122.1/system
Test Connection
Submit