Lines Matching full:sudo
37 utils.run('sudo test -e "%s"' % path)
75 virt = utils.run('sudo -n virt-what').stdout.strip()
97 cmd = (('sudo lxc-copy --lxcpath {lxcpath} --newpath {newpath} '
166 utils.run('sudo mkdir -p %s' % full_dst)
168 utils.run('sudo mount --bind %s %s' % (src, full_dst))
170 utils.run('sudo mount -o remount,ro,bind %s' % full_dst)
197 utils.run('sudo umount %s' % full_dst)
202 utils.run('sudo bash -c "cd %s; rmdir -p --ignore-fail-on-non-empty %s"'
222 of sudo. Saves ~400 ms per command.
226 @return The return code of the sudo call.
237 return utils.run("sudo bash %s" % temp.name)
240 result = utils.run("sudo %s" % command)
245 cmd = 'sudo lxc-info --version'