Commit 93bc37fe authored by Leigh B Stoller's avatar Leigh B Stoller

Add SetNextOS() function.

parent e6934d6c
...@@ -577,6 +577,16 @@ sub ResolveNextOSID($;$) ...@@ -577,6 +577,16 @@ sub ResolveNextOSID($;$)
return OSinfo->Lookup($osid); return OSinfo->Lookup($osid);
} }
#
# Set the nextosid.
#
sub SetNextOS($$)
{
my ($self, $nextosinfo) = @_;
return $self->Update({"nextosid" => $nextosinfo->osid()});
}
# #
# Check if a particular feature is supported. # Check if a particular feature is supported.
# #
......
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