WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    EVE-NG remove/hide unused node templates

    Networking
    1
    1
    21
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      Modify the following file:

      /opt/unetlab/html/includes/init.php
      

      from:

      if ( $found == 0 )  {
                              //$node_templates[$templ] = $desc.'.missing'  ;
                              $node_templates[$templ] = $desc.TEMPLATE_DISABLED  ;
                      }
      

      To:

      if ( $found == 0 )  {
                              //$node_templates[$templ] = $desc.'.missing'  ;
                              unset($node_templates[$templ]);
                              //$node_templates[$templ] = $desc.TEMPLATE_DISABLED  ;
                      }
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors