
Create new directories: ceph config config-files filesystem kernel kernel/kernel-modules ldap logging strorage-drivers tools utilities virt Retire directories: connectivity core devtools support extended Delete two packages: tgt irqbalance Relocated packages: base/ dhcp initscripts libevent lighttpd linuxptp memcached net-snmp novnc ntp openssh pam procps sanlock shadow sudo systemd util-linux vim watchdog ceph/ python-cephclient config/ facter puppet-4.8.2 puppet-modules filesystem/ e2fsprogs nfs-utils nfscheck kernel/ kernel-std kernel-rt kernel/kernel-modules/ mlnx-ofa_kernel ldap/ nss-pam-ldapd openldap logging/ syslog-ng logrotate networking/ lldpd iproute mellanox python-ryu mlx4-config python/ python-2.7.5 python-django python-gunicorn python-setuptools python-smartpm python-voluptuous security/ shim-signed shim-unsigned tboot strorage-drivers/ python-3parclient python-lefthandclient virt/ cloud-init libvirt libvirt-python qemu tools/ storage-topology vm-topology utilities/ tis-extensions namespace-utils nova-utils update-motd Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
53 lines
1.8 KiB
Diff
53 lines
1.8 KiB
Diff
From 358cb3c0c8feed5ecfaa8ebfc56b7742b88bb14a Mon Sep 17 00:00:00 2001
|
|
From: Denny Khoerniawan <denny.khoerniawan@windriver.com>
|
|
Date: Wed, 15 Nov 2017 14:02:49 -0500
|
|
Subject: [PATCH] ifup-eth stop waiting if link is up
|
|
|
|
---
|
|
sysconfig/network-scripts/ifup-eth | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
|
|
index 192ad18..4b8b992 100755
|
|
--- a/sysconfig/network-scripts/ifup-eth
|
|
+++ b/sysconfig/network-scripts/ifup-eth
|
|
@@ -151,7 +151,7 @@ if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
|
|
/sbin/ifup ${device##*/} || net_log "Unable to start slave device ${device##*/} for master ${DEVICE}." warning
|
|
done
|
|
|
|
- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
|
|
+ check_link_down ${DEVICE}
|
|
|
|
# add the bits to setup the needed post enslavement parameters
|
|
for arg in $BONDING_OPTS ; do
|
|
@@ -171,7 +171,7 @@ if [ -n "${BRIDGE}" ] && [ -x /usr/sbin/brctl ]; then
|
|
/sbin/ip addr flush dev ${DEVICE} 2>/dev/null
|
|
/sbin/ip link set dev ${DEVICE} up
|
|
ethtool_set
|
|
- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
|
|
+ check_link_down ${DEVICE}
|
|
/usr/sbin/brctl addif -- ${BRIDGE} ${DEVICE}
|
|
# add the bits to setup driver parameters here
|
|
for arg in $BRIDGING_OPTS ; do
|
|
@@ -227,7 +227,7 @@ else
|
|
# enable device without IP, useful for e.g. PPPoE
|
|
ip link set dev ${REALDEVICE} up
|
|
ethtool_set
|
|
- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
|
|
+ check_link_down ${REALDEVICE}
|
|
else
|
|
|
|
expand_config
|
|
@@ -242,7 +242,7 @@ else
|
|
|
|
ethtool_set
|
|
|
|
- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
|
|
+ check_link_down ${REAL_DEVICE}
|
|
|
|
if [ "${DEVICE}" = "lo" ]; then
|
|
SCOPE="scope host"
|
|
--
|
|
1.8.3.1
|
|
|