Commit 589ed7d4 authored by Leigh Stoller's avatar Leigh Stoller

Set the ready/released bits on the new images.

parent 3027b03f
......@@ -103,8 +103,10 @@ sub Install($$$)
# XXX the metadata file may not contain any or all of the newer
# DB state. So we update the metadata using imagevalidate.
#
Phase "${imagename}_validate", "Validating DB info for image.", sub {
Phase "${imagename}_validate", "Validating DB info for image.",sub {
my $iname = TBOPSPID() . "/" . $imagename;
ExecQuietFatal("$SUDO -u $PROTOUSER ".
"$PREFIX/sbin/imagerelease -f -m $iname");
ExecQuietFatal("$SUDO -u $PROTOUSER ".
"$PREFIX/sbin/imagevalidate -uq $iname");
};
......
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