lbuild-nightly.sh does not include build.common
[build.git] / build.common
index fe74e12..073e597 100644 (file)
@@ -751,15 +751,3 @@ function yumconf_exclude () {
 $yumexclude_line" $repo
 }
 
-########################################
-# workaround for broken lxc-enter-namespace
-# 1st version was relying on virsh net-dhcp-leases
-# however this was too fragile, would not work for fedora14 containers
-function guest_ipv4() {
-    lxc=$1; shift
-
-    mac=$(virsh -c lxc:/// domiflist $lxc | egrep 'network|bridge' | awk '{print $5;}')
-    # sanity check
-    [ -z "$mac" ] && return 0
-    arp -en | grep "$mac" | awk '{print $1;}'
-}