Change in vdsm[master]: ifcfg: make removeNic cope with a missing ifcfg file

osvoboda at redhat.com osvoboda at redhat.com
Wed Sep 9 09:06:12 UTC 2015


Ondřej Svoboda has posted comments on this change.

Change subject: ifcfg: make removeNic cope with a missing ifcfg file
......................................................................


Patch Set 1: Verified+1

The following scenario now doesn't result in missing ifcfg files (ifcfg-eth0!) in /etc/sysconfig/network-scripts/

1) setup a network over eth0
   vdsClient -s 0 setupNetworks 'networks={pokus:{nic:eth0,bootproto:dhcp,blockingdhcp:true,bridged:false}}'

2) persist the configuration (declare it safe)
   vdsClient -s 0 setSafeNetworkConfig

3) add a placeholder in /var/lib/vdsm/netconfback/ifcfg-eth0 with:
# original file did not exist

4) reboot

-- 
To view, visit https://gerrit.ovirt.org/45893
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ica18b30d508224903e7dcb898d74ae8ec35d4a23
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: No


More information about the vdsm-patches mailing list