Commit e92c073a authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Do not drop privs before the second ssh, when taking an image of a

VM. Note that the target script uses sudo, but not in all the places
it needs to, so lets just run the script as root, and yank the sudo
out later.
parent 2e78f216
......@@ -669,8 +669,6 @@ elsif ($isvirtnode) {
if (defined($webtask));
# Now execute command and wait.
......@@ -679,6 +677,7 @@ elsif ($isvirtnode) {
} else {
$result = run_with_ssh($command, undef);
goto done;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment