[Ovirt-devel] [PATCH] Two convenience scripts to simplify appliance usage
Perry N. Myers
pmyers at redhat.com
Tue Jul 1 02:00:11 UTC 2008
Jeff Schroeder wrote:
> On Mon, Jun 30, 2008 at 5:33 PM, Perry N. Myers <pmyers at redhat.com> wrote:
>> Chris Lalancette wrote:
>>> Perry Myers wrote:
>>>> ovirt-firefox.sh is used to launch firefox on the appliance
>>>> ovirt-view-vm.sh is used to launch virt-viewer on a specific managed node
>>>> connected to a specific virtual machine.
>>> Sure, should make life a little easier.
>>>
>>>> +KNOWN_HOSTS=~/.ssh/ovirt-known_hosts
>>>> +SSH_ARGS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=$KNOWN_HOSTS
>>>> -Yf"
>>>> +
>>>> +rm -f $KNOWN_HOSTS > /dev/null 2>&1
>
> At the point of arguing stupid semantics, this seems to do the same
> with less moving code:
> SSH_ARGS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -fY"
>
> This looks pretty good.
ah, I didn't think of putting the known hosts file in /dev/null. If that
works, I'm all for it :)
Perry
More information about the ovirt-devel
mailing list