Check-in [d45c5b5e45]
Not logged in
Overview
Comment:Fix typo when checking net interface name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d45c5b5e450fa60a0d8a2e5bdbd21170522ae6f5
User & Date: vitus on 2018-12-07 12:46:04
Other Links: manifest | tags
Context
2019-06-06
15:09
Retry reading spice uri if first time it fails Improbe diagnistics if it fails second time check-in: 33aa537a64 user: vitus tags: trunk
2018-12-07
12:46
Fix typo when checking net interface name check-in: d45c5b5e45 user: vitus tags: trunk
2018-07-17
14:24
Set version to 0.6 check-in: 0f1753d7e3 user: vitus tags: trunk
Changes

Modified vws from [f8df9b6012] to [3d8e33b5ca].

212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
        try:
            os.stat("monitor")
        except OSError:
            # We cannot find monitor socket. So this machine might be
            # never run on this host
            f=open("start","r+")
            data=f.read()
            idx0=data.find("-net bridge,br=")
            if idx != -1:
                idx=data.find("=",idx)
                idx+=1
                idx2=data.find(" ",idx)
                bridgename=data[idx:idx2]
                if not bridgename in list_bridges():    
                    net = config.get("create options","net")







|







212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
        try:
            os.stat("monitor")
        except OSError:
            # We cannot find monitor socket. So this machine might be
            # never run on this host
            f=open("start","r+")
            data=f.read()
            idx=data.find("-net bridge,br=")
            if idx != -1:
                idx=data.find("=",idx)
                idx+=1
                idx2=data.find(" ",idx)
                bridgename=data[idx:idx2]
                if not bridgename in list_bridges():    
                    net = config.get("create options","net")