diff options
Diffstat (limited to 'nova')
| -rwxr-xr-x | nova/network/linux_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py index d819a111a..626b65c9e 100755 --- a/nova/network/linux_net.py +++ b/nova/network/linux_net.py @@ -818,7 +818,7 @@ def _execute(*cmd, **kwargs): def _device_exists(device): """Check if ethernet device exists.""" (_out, err) = _execute('ip', 'link', 'show', 'dev', device, - check_exit_code=False) + check_exit_code=False, run_as_root=True) return not err |
