diff --git a/utils/newnode.in b/utils/newnode.in index dd7a2c9ef9e4de40cc0a08b0485c715277d7add7..ca5fce66f92a635613393ea909d24c4f0f44931c 100644 --- a/utils/newnode.in +++ b/utils/newnode.in @@ -41,8 +41,8 @@ my $exports_setup = "$TB/sbin/exports_setup"; my $dhcpd_rc = "/usr/local/etc/rc.d/2.dhcpd.sh"; -my $feature = EmulabFeatures->Lookup("ScriptNewNodes"); -my $useScriptFeature = defined($feature) && $feature->enabled(); +my $useScriptFeature = EmulabFeatures->FeatureEnabled("ScriptNewNodes", undef, + undef, undef); # # MFS to boot the nodes into initially