Debian Codegraph @

doc/ja/lxc-update-config.sgml.in

raw
1 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
2
3 <!DOCTYPE refentry PUBLIC @docdtd@ [
4 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
5 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
6 ]>
7
8 <refentry>
9 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
10 <refmeta>
11 <refentrytitle>lxc-update-config</refentrytitle>
12 <manvolnum>1</manvolnum>
13 </refmeta>
14
15 <refnamediv>
16 <refname>lxc-update-config</refname>
17
18 <refpurpose>
19 <!--
20 update a legacy pre LXC 2.1 configuration file
21 -->
22 LXC 2.1 より前の古い形式の設定ファイルを新しい形式に更新する
23 </refpurpose>
24 </refnamediv>
25
26 <refsynopsisdiv>
27 <cmdsynopsis>
28 <command>lxc-update-config</command>
29 <arg choice="req">-c <replaceable>config</replaceable></arg>
30 </cmdsynopsis>
31 </refsynopsisdiv>
32
33 <refsect1>
34 <title><!-- Description -->説明</title>
35
36 <para>
37 <!--
38 <command>lxc-update-config</command> detects any legacy
39 configuration keys in the given <replaceable>config</replaceable>
40 file and will replace them with the appropriate new configuration
41 keys.
42 -->
43 <command>lxc-update-config</command> は、<replaceable>config</replaceable> で指定したファイルの古い形式の設定項目を検出し、適切な新しい設定項目に置き換えます。
44 </para>
45 <para>
46 <!--
47 <command>lxc-update-config</command> will first create a backup of
48 the old <replaceable>config</replaceable> file in the same directory
49 and name it <replaceable>config.backup</replaceable> and then update
50 the original <replaceable>config</replaceable> file in place. In
51 case the update fails to apply or leads to an invalid
52 <replaceable>config</replaceable> file that cannot be used to start
53 a container users can either compare
54 <replaceable>config</replaceable> with
55 <replaceable>config.backup</replaceable> and try to manually repair
56 any the invalid configuration keys or simply rollback to the legacy
57 configuration file by copying
58 <replaceable>config.backup</replaceable> to
59 <replaceable>config</replaceable>.
60 -->
61 <command>lxc-update-config</command> はまず、古い <replaceable>config</replaceable> ファイルのバックアップを <replaceable>config.backup</replaceable> という名前で同じディレクトリに作成します。そして、元の <replaceable>config</replaceable> ファイルを更新します。
62 更新が失敗した場合や、コンテナの起動ができない無効な <replaceable>config</replaceable> ファイルである場合は、ユーザが <replaceable>config</replaceable> と <replaceable>config.backup</replaceable> を比較して、手動で無効な設定項目を修正するか、<replaceable>config.backup</replaceable> を <replaceable>config</replaceable> にコピーして以前の設定ファイルに戻せます。
63 </para>
64 <para>
65 <!--
66 Any failures for <command>lxc-update-config</command> to generate a
67 useable <replaceable>config</replaceable> file are a bug and should
68 be reported upstream.
69 -->
70 <command>lxc-update-config</command> が使えない <replaceable>config</replaceable> ファイルを生成した場合はバグですので、開発元に報告してください。
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title><!-- Options -->オプション</title>
76 <variablelist>
77 <varlistentry>
78 <term>
79 <option>-c, --config</option>
80 </term>
81 <listitem>
82 <para>
83 <!--
84 Path to the configuration file to update.
85 -->
86 更新したい設定ファイルのパス
87 </para>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry>
92 <term>
93 <option>-h, --help</option>
94 </term>
95 <listitem>
96 <para>
97 </para>
98 </listitem>
99 </varlistentry>
100 </variablelist>
101 </refsect1>
102
103 &seealso;
104 </refentry>
105
106 <!-- Keep this comment at the end of the file
107 Local variables:
108 mode: sgml
109 sgml-omittag:t
110 sgml-shorttag:t
111 sgml-minimize-attributes:nil
112 sgml-always-quote-attributes:t
113 sgml-indent-step:2
114 sgml-indent-data:t
115 sgml-parent-document:nil
116 sgml-default-dtd-file:nil
117 sgml-exposed-tags:nil
118 sgml-local-catalogs:nil
119 sgml-local-ecat-files:nil
120 End:
121 -->