~serge-hallyn/ubuntu/natty/lxc/lxc-fix-3bugs

« back to all changes in this revision

Viewing changes to doc/lxc.conf.sgml.in

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-12-06 16:24:31 UTC
  • mfrom: (1.1.6 upstream) (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101206162431-lvg92fyuiupfoqek
Tags: 0.7.3-1
* New upstream version (closes: #602631)
  - Support for specifying debian suite (closes: #600459)
  - Support for declaring a different architecture (closes: #597875)
* Fix restart init.d action sequence (closes: #597998)
* Move too-deep /usr/lib/lxc/lxc path to a proper patch
* Disable checkroot script in debian template (closes: #601001)
* Create missing tty devices under squeeze (closes: #600466)
* Restore bindmount functionality in newer kernels (closes: #604475)
* Make debian mirror configurable (closes: #601422)
* Default to cdn.debian.net as a debian mirror (closes: #600464)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    </para>
77
77
 
78
78
    <refsect2>
 
79
      <title>Architecture</title>
 
80
      <para>
 
81
        Allows to set the architecture for the container. For example,
 
82
        set a 32bits architecture for a container running 32bits
 
83
        binaries on a 64bits host. That fix the container scripts
 
84
        which rely on the architecture to do some work like
 
85
        downloading the packages.
 
86
      </para>
 
87
 
 
88
      <variablelist>
 
89
        <varlistentry>
 
90
          <term>
 
91
            <option>lxc.arch</option>
 
92
          </term>
 
93
          <listitem>
 
94
            <para>
 
95
              Specify the architecture for the container.
 
96
            </para>
 
97
            <para>
 
98
              Valid options are
 
99
              <option>x86</option>,
 
100
              <option>i686</option>,
 
101
              <option>x86_64</option>,
 
102
              <option>amd64</option>
 
103
            </para>
 
104
          </listitem>
 
105
        </varlistentry>
 
106
      </variablelist>
 
107
 
 
108
    </refsect2>
 
109
 
 
110
    <refsect2>
79
111
      <title>Hostname</title>
80
112
      <para>
81
113
        The utsname section defines the hostname to be set for the
278
310
          </listitem>
279
311
        </varlistentry>
280
312
 
 
313
        <varlistentry>
 
314
          <term>
 
315
            <option>lxc.network.script.up</option>
 
316
          </term>
 
317
          <listitem>
 
318
            <para>
 
319
              add a configuration option to specify a script to be
 
320
              executed after creating and configuring the network used
 
321
              from the host side. The following arguments are passed
 
322
              to the script: container name and config section name
 
323
              (net) Additional arguments depend on the config section
 
324
              employing a script hook; the following are used by the
 
325
              network system: execution context (up), network type
 
326
              (empty/veth/macvlan/phys), Depending on the network
 
327
              type, other arguments may be passed:
 
328
              veth/macvlan/phys. And finally (host-sided) device name.
 
329
            </para>
 
330
          </listitem>
 
331
        </varlistentry>
281
332
      </variablelist>
282
 
 
283
333
    </refsect2>
284
334
 
285
335
    <refsect2>
372
422
            <para>
373
423
              specify a file location in
374
424
              the <filename>fstab</filename> format, containing the
375
 
              mount informations.
 
425
              mount informations. If the rootfs is an image file or a
 
426
              device block and the fstab is used to mount a point
 
427
              somewhere in this rootfs, the path of the rootfs mount
 
428
              point should be prefixed with the
 
429
              <filename>@LXCROOTFSMOUNT@</filename> default path or
 
430
              the value of <option>lxc.rootfs.mount</option> if
 
431
              specified.
376
432
            </para>
377
433
          </listitem>
378
434
        </varlistentry>
405
461
          </term>
406
462
          <listitem>
407
463
            <para>
408
 
              specify a directory to become the root of the container.
409
 
              If not specified, the container shares its root file
410
 
              system with the host.
 
464
              specify the root file system for the container. It can
 
465
              be an image file, a directory or a block device. If not
 
466
              specified, the container shares its root file system
 
467
              with the host.
411
468
            </para>
412
469
          </listitem>
413
470
        </varlistentry>