Foreman on libvirt: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
 
=Install=
 
=Install=
 
*apt-get install foreman-libvirt libvirt-bin
 
*apt-get install foreman-libvirt libvirt-bin
 +
*systemctl restart apache2 
 +
=Config=
 +
*mkdir /usr/share/foreman/.ssh 
 +
*chmod 700 /usr/share/foreman/.ssh 
 +
*chown foreman:foreman /usr/share/foreman/.ssh 
 +
*sudo -u foreman ssh-keygen 
 +
*sed -i -e "/foreman/s/false/bash/" /etc/passwd
 +
*su - foreman
 +
*ssh-copy-id root@mabel:
 +
*exit
 +
*sed -i -e "/foreman/s/bash/false/" /etc/passwd
 +
*sudo -u foreman ssh foreman@<kvm_host>
 +
 +
=Links=
 
*https://www.linuxfrickeln.de/foreman-mit-kvm-host-verbinden-compute-ressource/
 
*https://www.linuxfrickeln.de/foreman-mit-kvm-host-verbinden-compute-ressource/

Aktuelle Version vom 9. Februar 2017, 14:58 Uhr

Install

  • apt-get install foreman-libvirt libvirt-bin
  • systemctl restart apache2

Config

  • mkdir /usr/share/foreman/.ssh
  • chmod 700 /usr/share/foreman/.ssh
  • chown foreman:foreman /usr/share/foreman/.ssh
  • sudo -u foreman ssh-keygen
  • sed -i -e "/foreman/s/false/bash/" /etc/passwd
  • su - foreman
  • ssh-copy-id root@mabel:
  • exit
  • sed -i -e "/foreman/s/bash/false/" /etc/passwd
  • sudo -u foreman ssh foreman@<kvm_host>

Links