blob: 8047fe701ac60ef6444ec602f5064a295a98a80d [file] [log] [blame]
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2016, Apache Software Foundation
# This file is distributed under the same license as the Apache CloudStack Administration Documentation package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Apache CloudStack Administration Documentation 4.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-08-22 13:55+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../templates/_create_linux.rst:18
msgid "Creating a Linux Template"
msgstr ""
#: ../../templates/_create_linux.rst:20
msgid "Linux templates should be prepared using this documentation in order to prepare your linux VMs for template deployment. For ease of documentation, the VM which you are configuring the template on will be referred to as \"Template Master\". This guide currently covers legacy setups which do not take advantage of UserData and cloud-init and assumes openssh-server is installed during installation."
msgstr ""
#: ../../templates/_create_linux.rst:27
msgid "An overview of the procedure is as follow:"
msgstr ""
#: ../../templates/_create_linux.rst:29
msgid "Upload your Linux ISO."
msgstr ""
#: ../../templates/_create_linux.rst:31
msgid "For more information, see `“Adding an ISO” <virtual_machines.html#adding-an-iso>`_."
msgstr ""
#: ../../templates/_create_linux.rst:34
msgid "Create a VM Instance with this ISO."
msgstr ""
#: ../../templates/_create_linux.rst:36
msgid "For more information, see `“Creating VMs” <virtual_machines.html#creating-vms>`_."
msgstr ""
#: ../../templates/_create_linux.rst:39
msgid "Prepare the Linux VM"
msgstr ""
#: ../../templates/_create_linux.rst:41
msgid "Create a template from the VM."
msgstr ""
#: ../../templates/_create_linux.rst:43
msgid "For more information, see `“Creating a Template from an Existing Virtual Machine” <#creating-a-template-from-an-existing-virtual-machine>`_."
msgstr ""
#: ../../templates/_create_linux.rst:48
msgid "System preparation for Linux"
msgstr ""
#: ../../templates/_create_linux.rst:50
msgid "The following steps will prepare a basic Linux installation for templating."
msgstr ""
#: ../../templates/_create_linux.rst:53
msgid "**Installation**"
msgstr ""
#: ../../templates/_create_linux.rst:55
msgid "It is good practice to name your VM something generic during installation, this will ensure components such as LVM do not appear unique to a machine. It is recommended that the name of \"localhost\" is used for installation."
msgstr ""
#: ../../templates/_create_linux.rst:61
msgid "For CentOS, it is necessary to take unique identification out of the interface configuration file, for this edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change the content to the following."
msgstr ""
#: ../../templates/_create_linux.rst:73
msgid "The next steps updates the packages on the Template Master."
msgstr ""
#: ../../templates/_create_linux.rst:75
#: ../../templates/_create_linux.rst:122
#: ../../templates/_create_linux.rst:179
msgid "Ubuntu"
msgstr ""
#: ../../templates/_create_linux.rst:85
#: ../../templates/_create_linux.rst:186
msgid "CentOS"
msgstr ""
#: ../../templates/_create_linux.rst:93
msgid "**Password management**"
msgstr ""
#: ../../templates/_create_linux.rst:96
msgid "If preferred, custom users (such as ones created during the Ubuntu installation) should be removed. First ensure the root user account is enabled by giving it a password and then login as root to continue."
msgstr ""
#: ../../templates/_create_linux.rst:105
msgid "As root, remove any custom user accounts created during the installation process."
msgstr ""
#: ../../templates/_create_linux.rst:112
msgid "See :ref:`adding-password-management-to-templates` for instructions to setup the password management script, this will allow CloudStack to change your root password from the web interface."
msgstr ""
#: ../../templates/_create_linux.rst:116
msgid "**Hostname Management**"
msgstr ""
#: ../../templates/_create_linux.rst:118
msgid "CentOS configures the hostname by default on boot. Unfortunately Ubuntu does not have this functionality, for Ubuntu installations use the following steps."
msgstr ""
#: ../../templates/_create_linux.rst:124
msgid "The hostname of a Templated VM is set by a custom script in `/etc/dhcp/dhclient-exit-hooks.d`, this script first checks if the current hostname is localhost, if true, it will get the host-name, domain-name and fixed-ip from the DHCP lease file and use those values to set the hostname and append the `/etc/hosts` file for local hostname resolution. Once this script, or a user has changed the hostname from localhost, it will no longer adjust system files regardless of its new hostname. The script also recreates openssh-server keys, which should have been deleted before templating (shown below). Save the following script to `/etc/dhcp/dhclient-exit-hooks.d/sethostname`, and adjust the permissions."
msgstr ""
#: ../../templates/_create_linux.rst:167
msgid "The following steps should be run when you are ready to template your Template Master. If the Template Master is rebooted during these steps you will have to run all the steps again. At the end of this process the Template Master should be shutdown and the template created in order to create and deploy the final template."
msgstr ""
#: ../../templates/_create_linux.rst:173
msgid "**Remove the udev persistent device rules**"
msgstr ""
#: ../../templates/_create_linux.rst:175
msgid "This step removes information unique to your Template Master such as network MAC addresses, lease files and CD block devices, the files are automatically generated on next boot."
msgstr ""
#: ../../templates/_create_linux.rst:193
msgid "**Remove SSH Keys**"
msgstr ""
#: ../../templates/_create_linux.rst:195
msgid "This step is to ensure all your Templated VMs do not have the same SSH keys, which would decrease the security of the machines dramatically."
msgstr ""
#: ../../templates/_create_linux.rst:203
msgid "**Cleaning log files**"
msgstr ""
#: ../../templates/_create_linux.rst:205
msgid "It is good practice to remove old logs from the Template Master."
msgstr ""
#: ../../templates/_create_linux.rst:214
msgid "**Setting hostname**"
msgstr ""
#: ../../templates/_create_linux.rst:216
msgid "In order for the Ubuntu DHCP script to function and the CentOS dhclient to set the VM hostname they both require the Template Master's hostname to be \"localhost\", run the following commands to change the hostname."
msgstr ""
#: ../../templates/_create_linux.rst:226
msgid "**Set user password to expire**"
msgstr ""
#: ../../templates/_create_linux.rst:228
msgid "This step forces the user to change the password of the VM after the template has been deployed."
msgstr ""
#: ../../templates/_create_linux.rst:235
msgid "**Clearing User History**"
msgstr ""
#: ../../templates/_create_linux.rst:237
msgid "The next step clears the bash commands you have just run."
msgstr ""
#: ../../templates/_create_linux.rst:244
msgid "**Shutdown the VM**"
msgstr ""
#: ../../templates/_create_linux.rst:246
msgid "Your now ready to shutdown your Template Master and create a template!"
msgstr ""
#: ../../templates/_create_linux.rst:253
msgid "**Create the template!**"
msgstr ""
#: ../../templates/_create_linux.rst:255
msgid "You are now ready to create the template, for more information see `“Creating a Template from an Existing Virtual Machine” <#creating-a-template-from-an-existing-virtual-machine>`_."
msgstr ""
#: ../../templates/_create_linux.rst:260
msgid "Templated VMs for both Ubuntu and CentOS may require a reboot after provisioning in order to pickup the hostname."
msgstr ""