Commit bdaf2ffc authored by Leigh B Stoller's avatar Leigh B Stoller

Run imagevalidate to update all DB parameters.

parent 71c3e9b8
...@@ -323,7 +323,7 @@ if ($getimage) { ...@@ -323,7 +323,7 @@ if ($getimage) {
my $imageid = $image->imageid(); my $imageid = $image->imageid();
# Run as root to access /proj # Run as root to access /proj
$EUID = $UID = 0; $EUID = $UID = 0;
if (system("$IMAGEVALIDATE -uq -H '$newhash' $imageid")) { if (system("$IMAGEVALIDATE -uq $imageid")) {
# XXX should this be fatal? # XXX should this be fatal?
print STDERR "Could not update DB info for $image\n"; print STDERR "Could not update DB info for $image\n";
} }
......
Markdown is supported
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