[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[CVS] di-docs/appendix example-preseed.po,NONE,1.1



Update of /cvsroot/l10n-russian/di-docs/appendix
In directory haydn:/tmp/cvs-serv20971/appendix

Added Files:
	example-preseed.po 
Log Message:
move example-preseed

--- NEW FILE: example-preseed.po ---
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2001-02-09 01:25+0100\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: application/x-xml2pot; charset=UTF-8\n"
"Content-Transfer-Encoding: ENCODING\n"

#: example-preseed.xml:5
#, no-c-format
#. Tag: title
msgid "Preconfiguration File Example"
msgstr ""

#: example-preseed.xml:5
#, no-c-format
#. Tag: sect1
msgid "This is a complete working example of a preconfiguration file for an automated install. Its use is explained in <xref linkend=\"automatic-install\"/>. You may want to uncomment some of the lines before using the file."
msgstr ""

#: example-preseed.xml:11
#, no-c-format
#. Tag: screen
msgid ""
      "#### Modifying syslinux.cfg.\n"
      "\n"
      "# Edit the syslinux.cfg (or similar) file, and add parameters to the end\n"
      "# of the append line(s) for the kernel.\n"
      "#\n"
      "# You'll at least want to add a parameter telling the installer where to\n"
      "# get its preseed file from.\n"
      "# If you're installing from USB media, use this, and put the preseed file\n"
      "# in the toplevel directory of the USB stick.\n"
      "#   preseed/file=/hd-media/preseed\n"
      "# If you're netbooting, use this instead:\n"
      "#   preseed/url=http://host/path/to/preseed\n";
      "# If you're remastering a CD, you could use this:\n"
      "#   preseed/file=/cdrom/preseed\n"
      "# Be sure to copy this file to the location you specify.\n"
      "# \n"
      "# While you're at it, you may want to throw a debconf/priority=critical in\n"
      "# there, to avoid most questions even if the preseeding below misses some.\n"
      "# And you might set the timeout to 1 in syslinux.cfg to avoid needing to hit\n"
      "# enter to boot the installer.\n"
      "#\n"
      "# Language, country, and keyboard selection cannot be preseeded from a file,\n"
      "# because the questions are asked before the preseed file can be loaded.\n"
      "# Instead, to avoid these questions, pass some more parameters to the kernel:\n"
      "#\n"
      "#    languagechooser/language-name=English\n"
      "#    countrychooser/shortlist=US\n"
      "#    console-keymaps-at/keymap=us\n"
      "\n"
      "#### Shell commands.\n"
      "\n"
      "# d-i preseeding is inherently not secure. Nothing in the installer checks\n"
      "# for attempts at buffer overflows or other exploits of the values of a\n"
      "# preseed file like this one. Only use preseed files from trusted\n"
      "# locations! To drive that home, and because it's generally useful, here's\n"
      "# a way to run any shell command you'd like inside the installer,\n"
      "# automatically.\n"
      "\n"
      "# This first command is run as early as possible, just after\n"
      "# preseeding is read.\n"
      "#d-i        preseed/early_command                string wget http://url/to/my.udeb -O /tmp/my.udeb ; udpkg -i /tmp/my.udeb\n"
      "# This command is run just before the install finishes, but when there is\n"
      "# still a usable /target directory.\n"
      "#d-i        preseed/late_command                string for deb in /hd-media/*.deb; do cp $deb /target/tmp; chroot /target dpkg -i /tmp/$(basename $deb); done\n"
      "# This command is run just as base-config is starting up.\n"
      "#base-config        base-config/early_command        string echo hi mom\n"
      "# This command is run after base-config is done, just before the login:\n"
      "# prompt. This is a good way to install a set of packages you want, or to\n"
      "# tweak the configuration of the system.\n"
      "#base-config        base-config/late_command        string apt-get install zsh; chsh -s /bin/zsh\n"
      "\n"
      "#### Network configuration.\n"
      "\n"
      "# Of course, this won't work if you're loading your preseed file from the\n"
      "# network! But it's great if you're booting from CD or USB stick. You can\n"
      "# also pass network config parameters in on the kernel params if you are\n"
      "# loading preseed files from the network.\n"
      "\n"
      "# netcfg will choose an interface that has link if possible. This makes it\n"
      "# skip displaying a list if there is more than one interface.\n"
      "d-i        netcfg/choose_interface select auto\n"
      "\n"
      "# If you prefer to configure the network manually, here's how:\n"
      "#d-i        netcfg/disable_dhcp        boolean true\n"
      "#d-i        netcfg/get_nameservers        string 192.168.1.1\n"
      "#d-i        netcfg/get_ipaddress        string 192.168.1.42\n"
      "#d-i        netcfg/get_netmask        string 255.255.255.0\n"
      "#d-i        netcfg/get_gateway        string 192.168.1.1\n"
      "#d-i        netcfg/confirm_static        boolean true\n"
      "\n"
      "# Note that any hostname and domain names assigned from dhcp take\n"
      "# precidence over values set here. However, setting the values still\n"
      "# prevents the questions from being shown even if values come from dhcp.\n"
      "d-i        netcfg/get_hostname        string unassigned-hostname\n"
      "d-i        netcfg/get_domain        string unassigned-domain\n"
      "\n"
      "# Disable that annoying WEP key dialog.\n"
      "d-i        netcfg/wireless_wep        string \n"
      "# The wacky dhcp hostname that some ISPs use as a password of sorts.\n"
      "#d-i        netcfg/dhcp_hostname        string radish\n"
      "\n"
      "#### Mirror settings.\n"
      "\n"
      "d-i        mirror/country                string enter information manually\n"
      "d-i        mirror/http/hostname        string http.us.debian.org\n"
      "d-i        mirror/http/directory        string /debian\n"
      "d-i        mirror/suite                string testing\n"
      "d-i        mirror/http/proxy        string \n"
      "\n"
      "### Partitioning.\n"
      "\n"
      "# If the system has free space you can choose to only partition that space.\n"
      "#d-i        partman-auto/init_automatically_partition        select Use the largest continuous free space\n"
      "# Alternatively, you can specify a disk to partition. The device name can\n"
      "# be given in either devfs or traditional non-devfs format.\n"
      "# For example, to use the first disk devfs knows of:\n"
      "d-i        partman-auto/disk        string /dev/discs/disc0/disc\n"
      "\n"
      "# You can choose from any of the predefined partitioning recipes:\n"
      "d-i        partman-auto/choose_recipe        select All files in one partition (recommended for new users)\n"
      "#d-i        partman-auto/choose_recipe        select Desktop machine\n"
      "#d-i        partman-auto/choose_recipe        select Multi-user workstation\n"
      "# Or provide a recipe of your own...\n"
      "# The recipe format is documented in the file devel/partman-auto-recipe.txt.\n"
      "# If you have a way to get a recipe file into the d-i environment, you can\n"
      "# just point at it.\n"
      "#d-i        partman-auto/expert_recipe_file        string /hd-media/recipe\n"
      "# If not, you can put an entire recipe in one line. This example creates\n"
      "# a small /boot partition, suitable swap, and uses the rest of the space\n"
      "# for the root partition:\n"
      "#d-i        partman-auto/expert_recipe        string boot-root :: 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } .  500 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } .  64 512 300% linux-swap method{ swap } format{ } . \n"
      "# For reference, here is that same recipe in a more readable form:\n"
      "#         boot-root ::\n"
      "#         40 50 100 ext3\n"
      "#                $primary{ } $bootable{ }\n"
      "#                method{ format } format{ }\n"
      "#                use_filesystem{ } filesystem{ ext3 }\n"
      "#                mountpoint{ /boot }\n"
      "#        .\n"
      "#         500 10000 1000000000 ext3\n"
      "#                method{ format } format{ }\n"
      "#                use_filesystem{ } filesystem{ ext3 }\n"
      "#                mountpoint{ / }\n"
      "#        .\n"
      "#         64 512 300% linux-swap\n"
      "#                method{ swap } format{ }\n"
      "#        .\n"
      "\n"
      "# This makes partman automatically partition without confirmation.\n"
      "d-i        partman/choose_partition        select Finish partitioning and write changes to disk\n"
      "d-i        partman/confirm                        boolean        true\n"
      "\n"
      "#### Boot loader installation.\n"
      "\n"
      "# Grub is the default boot loader (for x86). If you want lilo installed\n"
      "# instead, uncomment this:\n"
      "#d-i        grub-installer/skip                boolean true\n"
      "\n"
      "# This is fairly safe to set, it makes grub install automatically to the MBR\n"
      "# if no other operating system is detected on the machine.\n"
      "d-i        grub-installer/only_debian        boolean true\n"
      "# This one makes grub-installer install to the MBR if if finds some other OS\n"
      "# too, which is less safe as it might not be able to boot that other OS.\n"
      "d-i        grub-installer/with_other_os        boolean true\n"
      "# Alternatively, if you want to install to a location other than the mbr,\n"
      "# uncomment and edit these lines:\n"
      "#d-i        grub-installer/bootdev                string (hd0,0)\n"
      "#d-i        grub-installer/only-debian        boolean false\n"
      "#d-i        grub-installer/with_other_os        boolean false\n"
      "\n"
      "##### Finishing up the first stage install.\n"
      "\n"
      "# Avoid that last message about the install being complete.\n"
      "d-i        prebaseconfig/reboot_in_progress        note \n"
      "\n"
      "\n"
      "##### Preseeding base-config.\n"
      "# XXX: Note that most of this will not work right until base-config 2.40.4\n"
      "# is available.\n"
      "\n"
      "# Avoid the intorductory message.\n"
      "base-config        base-config/intro        note \n"
      "\n"
      "# Avoid the final message.\n"
      "base-config        base-config/login        note \n"
      "\n"
      "# If you installed a display manager, but don't want to start it immediately\n"
      "# after base-config finishes.\n"
      "#base-config        base-config/start-display-manager        boolean false\n"
      "\n"
      "###### Time zone setup.\n"
      "\n"
      "# Controls whether or not the hardware clock is set to GMT.\n"
      "base-config        tzconfig/gmt                boolean true\n"
      "\n"
      "# If you told the installer that you're in the United States, then you\n"
      "# can set the time zone using this variable.\n"
      "# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,\n"
      "# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)\n"
      "base-config        tzconfig/choose_country_zone/US        select Eastern\n"
      "# If you told it you're in Canada.\n"
      "# (Choices are: Newfoundland, Atlantic, Eastern, Central,\n"
      "# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)\n"
      "base-config        tzconfig/choose_country_zone/CA        select Eastern\n"
      "# If you told it you're in Brazil. (Choices are: East, West, Acre,\n"
      "# DeNoronha, other)\n"
      "base-config        tzconfig/choose_country_zone/BR        select East\n"
      "# Many countries have only one time zone. If you told the installer you're\n"
      "# in one of those countries, you can choose its standard time zone via this\n"
      "# question.\n"
      "base-config        tzconfig/choose_country_zone_single boolean true\n"
      "# This question is asked as a fallback for countries other than those\n"
      "# listed above, which have more than one time zone. You can preseed one of\n"
      "# the time zones, or \"other\".\n"
      "#base-config        tzconfig/choose_country_zone_multiple select \n"
      "\n"
      "###### Account setup.\n"
      "\n"
      "# To preseed the root password, you have to put it in the clear in this\n"
      "# file. That is not a very good idea, use caution!\n"
      "# (XXX: In fact, this won't work, because passwd clears the settings\n"
      "# before asking for a root password. This may not be fixed before the sarge\n"
      "# release, if it's fixed at all.)\n"
      "#passwd                passwd/root-password                password r00tme\n"
      "#passwd                passwd/root-password-again        password r00tme\n"
      "\n"
      "# If you want to skip creation of a normal user account.\n"
      "#passwd                passwd/make-user                boolean false\n"
      "# Alternatively, you can preseed the user's name. Note that the username\n"
      "# will be derived from this; it cannot be overridden currently. The\n"
      "# username will be the (lowercase) first name of the full name.\n"
      "#passwd                passwd/user-fullname                string Debian User\n"
      "#passwd                passwd/username                        string \n"
      "# And their password, but use caution!\n"
      "#passwd                passwd/user-password                password insecure\n"
      "#passwd                passwd/user-password-again        password insecure\n"
      "\n"
      "###### Apt setup.\n"
      "\n"
      "# This question controls what source the second stage installation uses\n"
      "# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list\n"
      "# by hand\n"
      "base-config        apt-setup/uri_type        select http\n"
      "\n"
      "# If you choose ftp or http, you'll be asked for a country and a mirror.\n"
      "base-config        apt-setup/country        select enter information manually\n"
      "base-config        apt-setup/hostname        string http.us.debian.org\n"
      "base-config        apt-setup/directory        string /debian\n"
      "# Stop after choosing one mirror.\n"
      "base-config        apt-setup/another        boolean false\n"
      "\n"
      "# You can choose to install non-free and contrib software.\n"
      "#base-config        apt-setup/non-free        boolean true\n"
      "#base-config        apt-setup/contrib        boolean true\n"
      "\n"
      "# Do enable security updates.\n"
      "base-config        apt-setup/security-updates        boolean true\n"
      "\n"
      "###### Package selection.\n"
      "\n"
      "# You can choose to install any combination of tasks that are available.\n"
      "# Available tasks as of this writing include: Desktop environment,\n"
      "# Web server, Print server, DNS server, File server, Mail server, \n"
      "# SQL database, manual package selection. The last of those will run\n"
      "# aptitude. You can also choose to install no tasks, and force the\n"
      "# installation of a set of packages in some other way.\n"
      "# XXX: this will not work until tasksel 2.12 is available\n"
      "tasksel                tasksel/first        multiselect Desktop environment\n"
      "#tasksel        tasksel/first        multiselect Web server, Mail server, DNS server\n"
      "\n"
      "###### Mailer configuration.\n"
      "\n"
      "# During a normal install, exim asks only two questions. Here's how to\n"
      "# avoid even those. More complicated preseeding is possible.\n"
      "exim4-config        exim4/dc_eximconfig_configtype        select no configuration at this time\n"
      "# It's a good idea to set this to whatever user account you choose to\n"
      "# create. Leaving the value blank results in postmaster mail going to\n"
      "# /var/mail/mail.\n"
      "exim4-config        exim4/dc_postmaster                string \n"
      "\n"
      "###### X Configuration.\n"
      "\n"
      "# Preseeding Debian's X config is possible, but you probably need to know\n"
      "# some details about the video hardware of the machine, since Debian's X\n"
      "# configurator does not do fully automatic configuration of everything.\n"
      "\n"
      "# X can detect the right driver for some cards, but if you're preseeding,\n"
      "# you override whatever it chooses. Still, vesa will work most places.\n"
      "#xserver-xfree86        xserver-xfree86/config/device/driver        select vesa\n"
      "\n"
      "# A caveat with mouse autodetection is that if it fails, X will retry it\n"
      "# over and over. So if it's preseeded to be done, there is a possibility of\n"
      "# an infinite loop if the mouse is not autodetected.\n"
      "#xserver-xfree86        xserver-xfree86/autodetect_mouse        boolean true\n"
      "\n"
      "# Monitor autodetection is recommended.\n"
      "xserver-xfree86                xserver-xfree86/autodetect_monitor        boolean true\n"
      "# Uncomment if you have a LCD display.\n"
      "#xserver-xfree86        xserver-xfree86/config/monitor/lcd        boolean true\n"
      "# X has three configuration paths for the monitor. Here's how to preseed\n"
      "# the \"medium\" path, which is always available. The \"simple\" path may not\n"
      "# be available, and the \"advanced\" path asks too many questions.\n"
      "xserver-xfree86        xserver-xfree86/config/monitor/selection-method        select medium\n"
      "xserver-xfree86        xserver-xfree86/config/monitor/mode-list        select 1024x768 @ 60 Hz\n"
      "\n"
      "###### Everything else.\n"
      "\n"
      "# Depending on what software you choose to install, or if things go wrong\n"
      "# during the installation process, it's possible that other questions may\n"
      "# be asked. You can preseed those too, of course. To get a list of every\n"
      "# possible question that could be asked during an install, do an\n"
      "# installation, and then run these commands:\n"
      "#   debconf-get-selections --installer > file\n"
      "#   debconf-get-selections >> file\n"
      "\n"
      "# If you like, you can include other preseed files into this one.\n"
      "# Any settings in those files will override pre-existing settings from this\n"
      "# file. More that one file can be listed, separated by spaces; all will be\n"
      "# loaded. The included files can have preseed/include directives of their\n"
      "# own as well. Note that if the filenames are relative, they are taken from\n"
      "# the same directory as the preseed file that includes them.\n"
      "#d-i        preseed/include        string x.cfg\n"
      "# More flexably, this runs a shell command and if it outputs the names of\n"
      "# preseed files, includes those files. For example, to switch configs based\n"
      "# on a particular usb storage device (in this case, a built-in card reader):\n"
      "#d-i        preseed/include_command        string if $(grep -q \"GUID: 0aec3050aec305000001a003\"  /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi"
msgstr ""




Reply to: