[CentOS-devel] please add vnconfig to minimal install CD

Fri Aug 17 11:37:25 UTC 2012
Manuel Wolfshant <wolfy at nobugconsulting.ro>

On 08/17/2012 12:28 PM, Karanbir Singh wrote:
>
> afaict, vconfig was included in the past due to the fake dep that dracut
> had on vconfig ( although it wasent doing anything with it ); since that
> bug got fixed vconfig seems to have been dropped.
>
> If you want to see it added in, I am sure it can be - there is plenty of
> disk space left still on the minimal iso. Go ahead and open a report for
> this and tag it 6.4-QA
As I have said before, there is no need for it:

[wolfy at wolfy ~]$ grep vconfig /etc/sysconfig/network-scripts/*

[wolfy at wolfy ~]$ grep vlan /etc/sysconfig/network-scripts/*
/etc/sysconfig/network-scripts/ifdown-eth:      || echo ${DEVICE} | 
LANG=C egrep -q 'vlan[0-9][0-9]?[0-9]?[0-9]?' ; then
/etc/sysconfig/network-scripts/ifdown-eth:      [ -f 
/proc/net/vlan/${DEVICE} ] && {
/etc/sysconfig/network-scripts/ifdown-eth:          ip link delete 
${DEVICE} type vlan
/etc/sysconfig/network-scripts/ifup:    MATCH='^vlan[0-9]{1,4}?'
/etc/sysconfig/network-scripts/ifup:    VID=$(echo "${DEVICE}" | 
LC_ALL=C sed 's/^vlan0*//')
/etc/sysconfig/network-scripts/ifup:    # PHYSDEV should be set in 
ifcfg-vlan* file
/etc/sysconfig/network-scripts/ifup:    if [ ! -d /proc/net/vlan ]; then
/etc/sysconfig/network-scripts/ifup:    if [ ! -f 
/proc/net/vlan/${DEVICE} ]; then
/etc/sysconfig/network-scripts/ifup:        ip link add dev ${DEVICE} 
link ${PHYSDEV} type vlan id ${VID} ${FLAG_REORDER_HDR} || {
/etc/sysconfig/network-scripts/ifup:                $"ERROR: could not 
add vlan ${VID} as ${DEVICE} on dev ${PHYSDEV}" &)&
/etc/sysconfig/network-scripts/ifup:            net_log $"ERROR: could 
not add vlan ${VID} as ${DEVICE} on dev ${PHYSDEV}"