()
| 2034 | timeout=6) |
| 2035 | if res['rc'] == 0: |
| 2036 | conn = res['out'].strip() |
| 2037 | if conn and conn != '--': |
| 2038 | r2 = _run(['nmcli', '-t', '-g', 'ipv4.method', 'connection', 'show', conn], |
| 2039 | timeout=6) |
| 2040 | method = r2['out'].strip() |
| 2041 | if method == 'auto': |
| 2042 | return 'dhcp' |
| 2043 | if method == 'manual': |
nothing calls this directly
no test coverage detected