Release 2.9.23-4
[nbd.git] / debian / nbd-server.templates
blobddac3be93c1f025048b699248009d4f0aedc32c2
1 # These templates have been reviewed by the debian-l10n-english
2 # team
4 # If modifications/additions/rewording are needed, please ask
5 # debian-l10n-english@lists.debian.org for advice.
7 # Even minor modifications require translation updates and such
8 # changes should be coordinated with translators and reviewers.
10 Template: nbd-server/number
11 Type: string
12 Default: 0
13 _Description: Number of nbd-server instances to run:
14  Multiple nbd-server processes may run to export multiple files or
15  block devices. Please specify how many configurations for such servers you
16  want to generate.
17  .
18  Note that you can always add extra servers by adding them to
19  /etc/nbd-server/config, or by running "dpkg-reconfigure nbd-server".
21 Template: nbd-server/port
22 Type: string
23 _Description: TCP Port for server number ${number}:
24  Please specify the TCP port this instance of nbd server will use for
25  backwards compatibility with older clients.
27 Template: nbd-server/name
28 Type: string
29 _Description: Name of export ${number}:
30  Please specify a name for this export.
32 Template: nbd-server/filename
33 Type: string
34 _Description: File to export (server number ${number}):
35  Please specify a file name or block device that should be exported
36  over the network. You can export a real block device (for instance
37  "/dev/hda1"); a normal file (such as "/export/nbd/bl1"); or a
38  bunch of files all at once. For the third option, you can
39  use "%s" in the filename, which will be expanded to the
40  IP-address of the connecting client. An example would be
41  "/export/swaps/swp%s".
42  .
43  Note that it is possible to tune the way in which the IP address will
44  be substituted in the file name. See "man 5 nbd-server" for details.
46 Template: nbd-server/autogen
47 Type: error
48 _Description: AUTO_GEN is set to "n" in /etc/nbd-server
49  The /etc/nbd-server file contains a line that sets the AUTO_GEN variable
50  to "n". The file will therefore not be regenerated automatically.
51  .
52  Note that the current version of the nbd-server package no longer uses
53  /etc/nbd-server. Instead it uses a new configuration file, read by
54  nbd-server itself (rather than the init script), which supports more
55  options. See "man 5 nbd-server" for details.
56  .
57  If you remove or comment out the AUTO_GEN line, a file
58  /etc/nbd-server/config in the new format may be generated based on the
59  current configuration. Until then, the nbd-server installation will be
60  broken.
62 Template: nbd-server/convert
63 Type: boolean
64 Default: true
65 _Description: Convert old-style nbd-server configuration file?
66  A pre-2.9 nbd-server configuration file has been found on this system.
67  The current nbd-server package no longer supports this file and will
68  not work if it is kept as is.
69  .
70  If you choose this option, the system will generate a new style
71  configuration file based upon the old-style configuration file, which
72  will be removed. Otherwise, configuration questions will be asked and
73  the system will generate a new configuration file.
74  .
75  If a new-style configuration file already exists and you choose this
76  option, you will shortly see a "modified configuration file" prompt, as
77  usual.
79 Template: nbd-server/useports
80 Type: boolean
81 Default: false
82 _Description: Support port-based exports?
83  Since version 2.9.18, nbd-server supports name-based exports, rather
84  than port-based ones. While this is generally preferable, you may have
85  to support systems running an older version of nbd-client, or might
86  need to go through a lot of trouble to update your older configurations
87  in order to migrate to name-based exports. In either of those cases,
88  you should accept this option.
89  .
90  Everyone else should leave the option at the default setting, which
91  will cause nbd-server to only support name-based exports.