From e8081c1ae35c9e3a15cef7564d7c62c3009d66b8 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Mon, 19 Dec 2011 16:29:48 +0800 Subject: [PATCH] doc: Add proxy and multi-instance introduce --- README.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.rst b/README.rst index 2b2ebef..44b62f1 100644 --- a/README.rst +++ b/README.rst @@ -273,3 +273,23 @@ debug/verbose output to get more details in the process by adding `-d/-v`. And it's recommended to add `-d/--debug` or `-v/--verbose` like: :: $ sudo mic -d cr fs test.ks + +Advance Features +================ + +Proxy support +------------- +proxy setting in mic.conf is not enabled, but you can set proxy in repo section +of ks file, example as follows: :: + + repo --name=1.2-oss --baseurl=http://repo.meego.com/MeeGo/releases/1.2.0/repos/oss/ia32/packages/ --proxy=http://host:port --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego + +Multiple running instances support +---------------------------------- +mic support running multi-instance, but cache dir can't be shared between instances, +so you should specify different cachedir for different instance using `--cachedir`. +Also outdir should be specified to a different directory for each instance using +`--outdir`, example as follows: :: + + mic cr fs netbook1.ks --cachedir=/var/tmp/cache/mic1 --outdir=out1 + mic cr fs netbook2.ks --cachedir=/var/tmp/cache/mic2 --outdir=out2 -- 2.7.4