LibreOffice Templates Custom Distro

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications LibreOffice Templates Custom Distro
# 1  
Old 09-03-2016
LibreOffice Templates Custom Distro

Hello, I have a custom Linux distro in which I'm trying to get templates for LibreOffice to ship by default. Is there a location they need to be placed or a file that needs to be edited? I've already tried using the template manager and add templates that way. I then copied /usr/templates/ and /usr/libreoffice/ as a final step before creating the ISO, hoping that'll preserve the information. However, after a fresh install, LibreOffice runs some kind of initial setup and my templates are nowhere to be found. I know about the Template folder in Home, but that doesn't help me much if I want to use a different username or password for the distro install.


Push The Outer Linux
@Twitter, @Github, & @Tumblr: TheOuterLinux
or, @RollResearch.com
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

C++ templates

I have the following template codes but some normal functions too and want to group them together. I usually put the implementation of templates in an .ipp file. What would be a good scheme for the normal functions. Put their implementations in a .cpp file, or leave them in the .ipp file? ... (3 Replies)
Discussion started by: kristinu
3 Replies

2. UNIX for Advanced & Expert Users

Help creating a custom linux distro

Hi all, for a while now I've been working on a linux distro and I'm a couple of tweaks away from it to be perfected so if any experts want to help me out please message me. Thanks in advance. (I know I've posted a similar thread on the same topic but it was closed due to an unhelpful title... (0 Replies)
Discussion started by: allk
0 Replies

3. Programming

Templates and header file

I have some C++ code and want to have the class declarations in a .h file and the implementation in the .cpp file. It seems however that for templates everything need to be put in the header (.h) file and will have problems if I try to separate the code to a .cpp file. Is this correct? Is... (1 Reply)
Discussion started by: kristinu
1 Replies

4. Solaris

A compilation problem when using templates

Hello life savers, I'm having trouble compiling a specific program. The program was originally written for gcc and was compiled successfully under it. When trying to compile under Solaris 11, I get this error: "Hashtable.h", line 170: Error: Could not find a match for hash needed in... (2 Replies)
Discussion started by: yp515
2 Replies

5. Shell Programming and Scripting

Reading from Templates

I am trying to write a script that would retrieve specific information from a template. I have been trying to no avail for the longest. This is what I wrote and it's not working. cat filename | while read F5 F6 do if ] then echo $F5 $F6 fi done Here is the template (filename) CN ... (7 Replies)
Discussion started by: Ernst
7 Replies

6. Post Here to Contact Site Administrators and Moderators

Templates

Hello, Anybody in here has any idea where I can get a template like this one for vBulletin. I have actually got my board but it just doesn't look good in the template that I have! Thanks anyway! him (2 Replies)
Discussion started by: him
2 Replies

7. Programming

site templates?

Are there any web site templates on CGI that allow like this forum software user registration and profiles. I dont need forum software i just need to register and keep profiles of my users on my site. Any suggestions? :confused: Thank you all. (1 Reply)
Discussion started by: solvman
1 Replies

8. Programming

c++ templates problems in g++

what we have: class TClass { public: TClass(); }; template<class T> class FClass<T>: public T { public: FClass(); }; TClass::TClass() { // some code } template<class T> FClass<T>::FClass : T() { // some code } int main (int argc,char* argv) { (3 Replies)
Discussion started by: Marhinado John
3 Replies
Login or Register to Ask a Question
KNIFE-BOOTSTRAP(1)						    Chef Manual 						KNIFE-BOOTSTRAP(1)

NAME
knife-bootstrap - Install Chef Client on a remote host SYNOPSIS
knife bootstrap (options) -i, --identity-file IDENTITY_FILE The SSH identity file used for authentication -N, --node-name NAME The Chef node name for your new node -P, --ssh-password PASSWORD The ssh password -x, --ssh-user USERNAME The ssh username -p, --ssh-port PORT The ssh port --bootstrap-version VERSION The version of Chef to install --bootstrap-proxy PROXY_URL The proxy server for the node being bootstrapped --prerelease Install pre-release Chef gems -r, --run-list RUN_LIST Comma separated list of roles/recipes to apply --template-file TEMPLATE Full path to location of template to use --sudo Execute the bootstrap via sudo -d, --distro DISTRO Bootstrap a distro using a template --[no-]host-key-verify Enable host key verification, which is the default behavior. DESCRIPTION
Performs a Chef Bootstrap on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. This sub-command is used internally by some cloud com- puting plugins. The bootstrap sub-command supports supplying a template to perform the bootstrap steps. If the distro is not specified (via -d or --distro option), an Ubuntu 10.04 host bootstrapped with RubyGems is assumed. The DISTRO value corresponds to the base filename of the template, in other words DISTRO.erb. A template file can be specified with the --template-file option in which case the DISTRO is not used. The sub-com- mand looks in the following locations for the template to use: o bootstrap directory in the installed Chef Knife library. o bootstrap directory in the $PWD/.chef. o bootstrap directory in the users $HOME/.chef. The default bootstrap templates are scripts that get copied to the target node (FQDN). The following distros are supported: o centos5-gems o fedora13-gems o ubuntu10.04-gems o ubuntu10.04-apt The gems installations will use RubyGems 1.3.6 and Chef installed as a gem. The apt installation will use the Opscode APT repository. In addition to handling the software installation, these bootstrap templates do the following: o Write the validation.pem per the local knife configuration. o Write a default config file for Chef (/etc/chef/client.rb) using values from the knife.rb. o Create a JSON attributes file containing the specified run list and run Chef. In the case of the RubyGems, the client.rb will be written from scratch with a minimal set of values; see EXAMPLES. In the case of APT Package installation, client.rb will have the validation_client_name appended if it is not set to chef-validator (default config value), and the node_name will be added if chef_node_name option is specified. When this is complete, the bootstrapped node will have: o Latest Chef version installed from RubyGems or APT Packages from Opscode. This may be a later version than the local system. o Be validated with the configured Chef Server. o Have run Chef with its default run list if one is specfied. Additional custom bootstrap templates can be created and stored in .chef/bootstrap/DISTRO.erb, replacing DISTRO with the value passed with the -d or --distro option. See EXAMPLES for more information. EXAMPLES
Setting up a custom bootstrap is fairly straightforward. Create a .chef/bootstrap directory in your Chef Repository or in $HOME/.chef/boot- strap. Then create the ERB template file. mkdir ~/.chef/bootstrap vi ~/.chef/bootstrap/debian5.0-apt.erb For example, to create a new bootstrap template that should be used when setting up a new Debian node. Edit the template to run the com- mands, set up the validation certificate and the client configuration file, and finally to run chef-client on completion. The bootstrap template can be called with: knife bootstrap mynode.example.com --template-file ~/.chef/bootstrap/debian5.0-apt.erb Or, knife bootstrap mynode.example.com --distro debian5.0-apt The --distro parameter will automatically look in the ~/.chef/bootstrap directory for a file named debian5.0-apt.erb. Templates provided by the Chef installation are located in BASEDIR/lib/chef/knife/bootstrap/*.erb, where BASEDIR is the location where the package or Gem installed the Chef client libraries. BUGS
knife bootstrap is not capable of bootstrapping multiple hosts in parallel. The bootstrap script is passed as an argument to sh(1) on the remote system, so sensitive information contained in the script will be visi- ble to other users via the process list using tools such as ps(1). SEE ALSO
knife-ssh(1) AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community. DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu- ment under the terms of the Apache 2.0 License. CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home Chef 10.12.0 June 2012 KNIFE-BOOTSTRAP(1)