diff options
Diffstat (limited to 'meta-agl-profile-core/recipes-connectivity/connman')
-rw-r--r-- | meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend | 2 | ||||
-rw-r--r-- | meta-agl-profile-core/recipes-connectivity/connman/files/main.conf | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend b/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend index 98729400c..8057fbbc7 100644 --- a/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend +++ b/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend @@ -12,6 +12,6 @@ do_install_append() { # Need to ignore eth1 in cluster demo setup if ${@bb.utils.contains('DISTRO_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then - echo "NetworkInterfaceBlacklist=vmnet,vboxnet,virbr,ifb,eth1" >> ${D}${sysconfdir}/connman/main.conf + sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf fi } diff --git a/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf b/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf index 0bfbe09dc..4dba25b70 100644 --- a/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf +++ b/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf @@ -1,2 +1,3 @@ [General] FallbackTimeservers=pool.ntp.org +NetworkInterfaceBlacklist=vmnet,vboxnet,virbr,ifb,meth |