Package: lava-dispatcher Version: 2016.2-1 Followup-For: Bug #815584 Dear Maintainer,
I created pull request which fixes this issue (patch is the same as the one I attached here) https://github.com/Linaro/pkg-lava-dispatcher/pull/9 Kind regards, Petr
>From 71333b76da2c9c2f5b072ae25753db232f3a8be1 Mon Sep 17 00:00:00 2001 From: Petr Vorel <petr.vo...@gmail.com> Date: Mon, 22 Feb 2016 19:34:40 +0100 Subject: [PATCH] fix broken default configuration when more than one inet NIC This fixes debian bug #815584 Signed-off-by: Petr Vorel <petr.vo...@gmail.com> --- debian/control | 2 +- debian/lava-dispatcher.postinst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index e4891ad..65e9e39 100644 --- a/debian/control +++ b/debian/control @@ -19,7 +19,7 @@ Vcs-Browser: https://github.com/Linaro/pkg-lava-dispatcher Package: lava-dispatcher Architecture: linux-any -Depends: file, python-serial (>= 2.6), python-setuptools, +Depends: coreutils, file, python-serial (>= 2.6), python-setuptools, python-daemon, parted, kpartx, tar (>= 1.27), telnet, ser2net, sshfs, sudo, ${python:Depends}, ${misc:Depends} Conflicts: python-linaro-dashboard-bundle diff --git a/debian/lava-dispatcher.postinst b/debian/lava-dispatcher.postinst index aabdd59..19b5e30 100644 --- a/debian/lava-dispatcher.postinst +++ b/debian/lava-dispatcher.postinst @@ -23,6 +23,7 @@ set -e # Move this into a debconf question with the dumb dispatcher model LAVA_SERVER_IP=`ip addr | awk '{ if ($1 == "inet" && $4 != "host") { gsub("/.*", "", $2); print($2) } }'` +LAVA_SERVER_IP=`ip addr | awk '{ if ($1 == "inet" && $4 != "host") { gsub("/.*", "", $2); print($2) } }' | head -1` case "$1" in configure) -- 2.7.0