How to remove Disk usage bar for VPS in SolusVM Client area?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to remove Disk usage bar in SolusVM Client area?

Answer

  1. Connect to Master node via SSH
  2. Backup the file /usr/local/solusvm/templates/client/bootstrap/control.tpl:

    # cp -a /usr/local/solusvm/templates/client/bootstrap/control.tpl{,.orig}

  3. Remove the following part(lines 383-390) from the file /usr/local/solusvm/templates/client/bootstrap/control.tpl:

    CONFIG_TEXT: <tr id="-hddbar">
    <td><?=$_lang['vserverdiskusagelabel'];?></td>
    <td class="-usages"><div class="progress progress-success progress-striped" style="margin-bottom: 0">
    <div class="bar" style="width: <?=$this->percenthddb;?>%"><?=$this->percenthdd;?>%</div>
    </div>
    </td>
    <td><?=$this->usedhdd;?> <?=$_lang['vserverbarof'];?> <?=$this->totalhdd;?> <?=$_lang['vserverbarused'];?> / <?=$this->freehdd;?> <?=$_lang['vserverbarfree'];?></td>
    </tr>

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.