Change in vdsm[master]: contrib: add useful shell functions to assist in vdsm develo...

phoracek at redhat.com phoracek at redhat.com
Wed Jan 7 14:25:11 UTC 2015


Petr Horáček has posted comments on this change.

Change subject: contrib: add useful shell functions to assist in vdsm development
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.ovirt.org/#/c/36344/4/contrib/shell_helper
File contrib/shell_helper:

Line 106: del_dummies() {
Line 107:     for nic in `ip l | awk '{print $2;}' | egrep "^dummy"`; do
Line 108:         sudo ip link del dev ${nic[0,-2]}
Line 109:     done
Line 110:     sudo rm /etc/sysconfig/network-scripts/ifcfg-dummy\*
> you cannot use asterisk like this in bash, i use instead:
nah, i lied. it's enough to just use * instead  of \*
Line 111: }
Line 112: 
Line 113: del_bonds() {
Line 114:     for nic in `ip l | awk '{print $2;}' | egrep "^bond"`; do


-- 
To view, visit http://gerrit.ovirt.org/36344
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ide4131db838640a5836fd029696849bced267308
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <toni at midokura.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <toni at midokura.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list