X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Finstall-ganeti.creole;h=a28f5b4c844b8eaa3e0a2228b76bd45ed0640978;hb=1b67953c3e1dc8a4e9a351f0a52e647159212d03;hp=f7bb1b572789014da8b556ca35c4ea13f876c208;hpb=b1c2f86669262e2df112d1b9016339cad192d15e;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/install-ganeti.creole b/input/howto/install-ganeti.creole index f7bb1b5..a28f5b4 100644 --- a/input/howto/install-ganeti.creole +++ b/input/howto/install-ganeti.creole @@ -136,7 +136,12 @@ kernels): === exchange ssh keys === -ipsum loren bacon puppet: the ssh keys for nodes must be added to root:/etc/.ssh/authorized_keys (or /etc/ssh/keys/root) on all nodes; puppet can handle this (poorly; needs improvement) +on each node: + +{{{ + mkdir -m 0700 -p /root/.ssh && + ln -s /etc/ssh/ssh_host_rsa_key /root/.ssh/id_rsa +}}} === configure iptables (via ferm) === @@ -170,7 +175,13 @@ Note the following: === add slave nodes === -For each slave node (only bar for this example), on the master node (foo): +For each slave node (only bar for this example): + +on the slave, append the master's /etc/ssh/ssh_host_rsa_key to +/etc/ssh/userkeys/root. This is only required temporarily - once +everything works puppet will put it/keep it there. + +on the master node (foo): {{{ gnt-node add \