On 03/11/2014 10:09 AM, Sven Kieske wrote:
Forwarding to engine devel, because it seems there is no interest in
this feature on vdsm-devel.
Could this get integrated somehow?
I managed to reuse the ubuntu build of ovirt-guest-agent for debian.
vinznenz?
-------- Original-Nachricht --------
Betreff: [vdsm] ovirt-guest-agent on debian
Datum: Mon, 10 Mar 2014 09:36:11 +0000
Von: Sven Kieske <S.Kieske(a)mittwald.de>
An: VDSM Project Development <vdsm-devel(a)lists.fedorahosted.org>
Hi,
I just did some additional research, here are my results:
on a clean debian 7 x64 VM inside oVirt:
I did as root:
apt-get install python-software-properties
add-apt-repository -y ppa:zhshzhou/vdsm-ubuntu
vim /etc/apt/sources.list.d/zhshzhou-vdsm-ubuntu-wheezy.list
change the following lines from:
deb
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu wheezy main
deb-src
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu wheezy main
to:
deb
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu precise main
deb-src
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu precise main
then:
apt-get update
apt-get install ovirt-guest-agent
You get an error:
Setting up ovirt-guest-agent (1.0.8.201309301944.gitb7f8f2-1ppa1) ...
chown: cannot access `/var/log/ovirt-guest-agent/ovirt-guest-agent.log':
No such file or directory
but it works:
ls -lashi /var/log/ovirt-guest-agent/ovirt-guest-agent.log
533212 4.0K -rw-r--r-- 1 ovirtagent ovirtagent 208 Mar 10 10:20
/var/log/ovirt-guest-agent/ovirt-guest-agent.log
service ovirt-guest-agent status
[ ok ] ovirt-guest-agent is running.
IP information shows up in ovirt.
it would be cool if the folder "precise" on the ppa could
be cloned to be a folder "wheezy".
So you would not need to change the apt-sources entries.
I don't know why this chown error occurs, but it seems to work!