I believe you should support authorized_keys as well.
On Wednesday 09 September 2009 19:01:06 ovirt-devel-request at redhat.com
wrote:> Send Ovirt-devel mailing list submissions to
> ovirt-devel at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/ovirt-devel
> or, via email, send a message with subject or body 'help' to
> ovirt-devel-request at redhat.com
>
> You can reach the person managing the list at
> ovirt-devel-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ovirt-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: [PATCH node-image] Add ability to set persistent
> ssh_host_keys on the node, usefull if you run diskless instance
> of ovirt-node (Pierre-Gilles Mialon)
> 2. [PATCH node-image] Working version of Add the ability to use
> persistent ssh_host_keys on the ovirt-node (pmialon at linagora.com)
> 3. Re: ovirt web interface (Jason Guiditta)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 8 Sep 2009 18:10:47 +0200
> From: "Pierre-Gilles Mialon" <pmialon at linagora.com>
> Subject: Re: [Ovirt-devel] [PATCH node-image] Add ability to set
> persistent ssh_host_keys on the node, usefull if you run diskless
> instance of ovirt-node
> To: ovirt-devel at redhat.com
> Message-ID: <200909081810.47300.pmialon at linagora.com>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Sorry for that I didn't send the good patch.
>
> Please forget this mail and the precedent
>
> Sincerely,
>
>
> Le mardi 8 septembre 2009 17:34:56 pmialon at linagora.com, vous avez ?crit
:
> > From: root <root at chappy.(none)>
> >
> > ---
> > ovirt-node-image.ks | 16 ++++++++++++++++
> > 1 files changed, 16 insertions(+), 0 deletions(-)
> >
> > diff --git a/ovirt-node-image.ks b/ovirt-node-image.ks
> > index 802b6a5..d698497 100644
> > --- a/ovirt-node-image.ks
> > +++ b/ovirt-node-image.ks
> > @@ -55,6 +55,22 @@ if [ -f "ovirt-authorized_keys" ]; then
> > chmod 644 $INSTALL_ROOT/root/.ssh/authorized_keys
> > fi
> >
> > +if [ -f ovirt-ssh_host_dsa_key -f ovirt-ssh_host_dsa_key.pub \
> > + -f ovirt-ssh_host_key -f ovirt-ssh_host_key.pub \
> > + -f ovirt-ssh_host_rsa_key -f ovirt-ssh_host_rsa_key.pub ]; then
> > + echo "Adding persistent ssh_keys for host to Image"
> > + mkdir -p $INSTALL_ROOT/etc/ssh
> > + cp -v ovirt-ssh_host_dsa_key
$INSTALL_ROOT/etc/ssh/ssh_host_dsa_key
> > + cp -v ovirt-ssh_host_key $INSTALL_ROOT/etc/ssh/ssh_host_key
> > + cp -v ovirt-ssh_host_rsa_key
$INSTALL_ROOT/etc/ssh/ssh_host_rsa_key
> > + cp -v ovirt-ssh_host_key.pub
$INSTALL_ROOT/etc/ssh/ssh_host_key.pub
> > + cp -v ovirt-ssh_host_dsa_key.pub
> > $INSTALL_ROOT/etc/ssh/ssh_host_dsa_key.pub + cp -v
> > ovirt-ssh_host_rsa_key.pub
$INSTALL_ROOT/etc/ssh/ssh_host_rsa_key.pub
> > + chown root:root $INSTALL_ROOT/etc/ssh/*key*
> > + chmod 600 $INSTALL_ROOT/etc/ssh/*key
> > + chmod 644 $INSTALL_ROOT/etc/ssh/*key.pub
> > +fi
> > +
> > echo "Fixing boot menu"
> > # remove quiet from Node bootparams, added by livecd-creator
> > sed -i -e 's/ quiet//' $LIVE_ROOT/isolinux/isolinux.cfg
>
> Pierre-Gilles Mialon
> Responsable h?bergement :: Head of Hosting services
> pmialon at linagora.com :: +33.1 58 18 65 46
> Linagora :: http://www.linagora.com
> 27 rue de Berri :: 75008 PARIS
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 198 bytes
> Desc: This is a digitally signed message part.
> Url :
https://www.redhat.com/archives/ovirt-devel/attachments/20090908/11a7ddd1/attachment.bin
>
> ------------------------------
>
> Message: 2
> Date: Tue, 8 Sep 2009 16:15:06 +0000
> From: pmialon at linagora.com
> Subject: [Ovirt-devel] [PATCH node-image] Working version of Add the
> ability to use persistent ssh_host_keys on the ovirt-node
> To: ovirt-devel at redhat.com
> Cc: root <root at linagora-ovirt.netaktiv.com>
> Message-ID: <1252426506-25493-1-git-send-email-pmialon at
linagora.com>
>
> From: root <root at linagora-ovirt.netaktiv.com>
>
> ---
> ovirt-node-image.ks | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/ovirt-node-image.ks b/ovirt-node-image.ks
> index 802b6a5..9a7d617 100644
> --- a/ovirt-node-image.ks
> +++ b/ovirt-node-image.ks
> @@ -55,6 +55,22 @@ if [ -f "ovirt-authorized_keys" ]; then
> chmod 644 $INSTALL_ROOT/root/.ssh/authorized_keys
> fi
>
> +if [ -f ovirt-ssh_host_dsa_key -a -f ovirt-ssh_host_dsa_key.pub -a\
> + -f ovirt-ssh_host_key -a -f ovirt-ssh_host_key.pub -a \
> + -f ovirt-ssh_host_rsa_key -a -f ovirt-ssh_host_rsa_key.pub ]; then
> + echo "Adding persistent ssh_keys for host to Image"
> + mkdir -p $INSTALL_ROOT/etc/ssh
> + cp -v ovirt-ssh_host_dsa_key $INSTALL_ROOT/etc/ssh/ssh_host_dsa_key
> + cp -v ovirt-ssh_host_key $INSTALL_ROOT/etc/ssh/ssh_host_key
> + cp -v ovirt-ssh_host_rsa_key $INSTALL_ROOT/etc/ssh/ssh_host_rsa_key
> + cp -v ovirt-ssh_host_key.pub $INSTALL_ROOT/etc/ssh/ssh_host_key.pub
> + cp -v ovirt-ssh_host_dsa_key.pub
$INSTALL_ROOT/etc/ssh/ssh_host_dsa_key.pub
> + cp -v ovirt-ssh_host_rsa_key.pub
$INSTALL_ROOT/etc/ssh/ssh_host_rsa_key.pub
> + chown root:root $INSTALL_ROOT/etc/ssh/*key*
> + chmod 600 $INSTALL_ROOT/etc/ssh/*key
> + chmod 644 $INSTALL_ROOT/etc/ssh/*key.pub
> +fi
> +
> echo "Fixing boot menu"
> # remove quiet from Node bootparams, added by livecd-creator
> sed -i -e 's/ quiet//' $LIVE_ROOT/isolinux/isolinux.cfg
> > Good morning,
> > I build ovirt following instruction o ovirt.org but when I try to
connect
> > to the web interface the following error is reported:
> >
> > Redirect Loop
> >
> > I think the problem is first lines in ovirt-server.conf under
> > /etc/httd/conf.d:
> >
> > NameVirtualHost 172.25.0.52:80
> > <VirtualHost 172.25.0.52:80>
> > <Location /ovirt>
> > RewriteEngine on
> > RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
> > </Location>
> > </VirtualHost>
> >
> > I tried to delete the above lines and it seems to work but with some
> > errors (for example I cannot logout from the web interface).
> >
> > Please, could anyone help me ?
> > Thanks
> > Igna
>
> This sounds like the error that you get if you have only one network
> rather than 2 (one for admin, one for guest). Someone (Mo I believe)
> was looking into getting a one network setup working, but it is
> currently not supported in oVirt. As for the not logging out - we use
> http auth headers, so the only way to really log out is to install (for
> firefox) something like the web developer toolbar, which allows you to
> tell your browser to remove currently auth'ed session. This must be
> used in conjunction with the logout button in the UI, which kills the
> session on the server side.
>
> -j
>
>
>
> ------------------------------
>
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
>
>
> End of Ovirt-devel Digest, Vol 20, Issue 8
> ******************************************
>