[one-users] Templates Path

Valentin Bud valentin.bud at gmail.com
Thu Jul 4 00:03:40 PDT 2013


Hi Umar,

On Thu, Jul 04, 2013 at 02:13:39AM +0500, Umar Draz wrote:
> Hi
> 
> I just created a New Template through Openneubla web interface. now I want
> to know where that templates saves on server, I want to check the content
> of that template. So i can create more template using that.

The template is stored in the database, either SQLite or MySQL. This
depends on your installation.

In order to view the template's content you can use either the CLI or
Sunstone, whichever suits you best.

>From the CLI:

$ onetemplate show <name_of_template | id_of_template>

>From Sunstone:

Select the template and hit More on the top right above the templates
list. There you can see the content of the template.

Templates can be cloned either from the CLI or from Sunstone.

>From the CLI:

$ onetemplate clone <id_of_template> <new_template_name> 


and updated using your preferred EDITOR with 

$ onetemplate update <id_of_template | template_name>

>From Sunstone:

Select a template and hit More and Clone.

Enjoy :-). Greetings,

--
Valentin Bud
http://databus.pro | valentin at databus.pro



More information about the Users mailing list