diff options
author | Dor Laor <dor@qumranet.com> | 2007-03-11 10:30:18 +0000 |
---|---|---|
committer | Dor Laor <dor@qumranet.com> | 2007-03-11 10:30:18 +0000 |
commit | 12388ddf17d797d0cb529510fcff6597e935878c (patch) | |
tree | 15a228e45805dbe70ef87f7d33925348a05c84a9 /kvm | |
parent | 93c583a31269521bce6ca70c6a38788b7a152981 (diff) |
Use full path for binaries so sudo command will work even without the rigth environment variables
Diffstat (limited to 'kvm')
-rwxr-xr-x | kvm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ if options.debugger: if not options.notap: mac = options.mac if not mac: - for line in commands.getoutput('ip link show eth0').splitlines(): + for line in commands.getoutput('/sbin/ip link show eth0').splitlines(): m = re.match(r'.*link/ether (..:..:..:..:..:..).*', line) if m: mac = m.group(1) |