FlamesRunner / natCP

A free open source OpenVZ panel.
GNU General Public License v3.0
16 stars 12 forks source link

/sbin/get_available_templates: command not found #9

Closed sayghteight closed 6 years ago

sayghteight commented 6 years ago

this file is nowhere to be found

FlamesRunner commented 6 years ago

The contents of the script should be:

#!/bin/bash
ls /vz/template/cache

However, it's not necessary to put it as its own file, and if you'd like, I'll apply the Hacktoberfest label and allow you to change it.

sayghteight commented 6 years ago

I have created the file in my sbin directory

With the following code

! / bin / bash ls / vz / template / cache

I've saved it as get_available_templates.

But it's still the same.

FlamesRunner commented 6 years ago

Did you set the appropriate permissions on the file? They should be 755.

sayghteight commented 6 years ago

Fixed, i go upload in my repository

FlamesRunner commented 6 years ago

If everything's good, do close the issue. Thanks!