~ivoks/charms/trusty/neutron-contrail/contrail-nova-driver

« back to all changes in this revision

Viewing changes to scripts/create-vrouter.sh

  • Committer: Robert Ayres
  • Date: 2016-05-23 19:52:48 UTC
  • Revision ID: robert.ayres@canonical.com-20160523195248-hkmtx02cw8n0zuxi
Add --force flag to ifdown in scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                fi
39
39
                [ -d /sys/class/net/$iface/bridge ] && saveIfaces $iface
40
40
                [ -d /sys/class/net/$iface/bonding ] && saveSlaves $iface
41
 
                ifdown $iface
 
41
                ifdown --force $iface
42
42
        done
43
43
}
44
44