Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bdaf2ffc
Commit
bdaf2ffc
authored
Jan 29, 2015
by
Leigh B Stoller
Browse files
Run imagevalidate to update all DB parameters.
parent
71c3e9b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/image_import.in
View file @
bdaf2ffc
...
...
@@ -323,7 +323,7 @@ if ($getimage) {
my
$imageid
=
$image
->
imageid
();
# Run as root to access /proj
$EUID
=
$UID
=
0
;
if
(
system
("
$IMAGEVALIDATE
-uq
-H '
$newhash
'
$imageid
"))
{
if
(
system
("
$IMAGEVALIDATE
-uq
$imageid
"))
{
# XXX should this be fatal?
print
STDERR
"
Could not update DB info for
$image
\n
";
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment