Commit 5ff9d6dd authored by Mike Hibler's avatar Mike Hibler

Allow per-node "rebootable" attribute.

parent bcbc8471
......@@ -1877,6 +1877,16 @@ sub cyclewhenoff($;$) {
return NodeTypeInfo($self)->cyclewhenoff($stuff);
}
sub rebootable($;$) {
my ($self,$stuff) = @_;
my $val = undef;
if (NodeAttribute($self, "rebootable", \$val) == 0 && defined($val)) {
return $val;
}
return NodeTypeInfo($self)->rebootable($stuff);
}
sub root_password($) {
my ($self) = @_;
my $val = undef;
......@@ -1901,9 +1911,6 @@ sub imageable($;$) {
sub control_iface($;$) {
return NodeTypeInfo($_[0])->control_iface($_[1]);
}
sub rebootable($;$) {
return NodeTypeInfo($_[0])->rebootable($_[1]);
}
sub isfakenode($;$) {
return NodeTypeInfo($_[0])->isfakenode($_[1]);
}
......
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