lxc-images help

This commit is contained in:
bigeagle 2015-05-11 23:11:44 +08:00
parent f70c10425a
commit 44e796b5a0
2 changed files with 14 additions and 2 deletions

View File

@ -182,8 +182,8 @@
<tr>
<td>
<a href="/{{name}}">{{name}}</a>
{{if help}}<i class="fa fa-question-circle clickable" data-toggle2="tooltip" data-toggle="modal" data-target="#HelpModal" data-help="{{help}}" data-placement="right" title="Help"></i>{{/if}}
{{ if is_new }}<span class="label label-new">new</span>{{/if}}
{{if help}}<i class="fa fa-question-circle clickable" data-toggle2="tooltip" data-toggle="modal" data-target="#HelpModal" data-help="{{help}}" data-placement="right" title="Help"></i>{{/if}}
</td>
<td>{{last_update}}</td>
<td><span class="label label-status {{label}}">{{status}}<span></td>
@ -210,7 +210,8 @@ $(document).ready(function(){
'raspbian': 'wiki/raspbian.md',
'repo-ck': 'wiki/repo-ck.md',
'rpmfusion': 'wiki/rpmfusion.md',
'ubuntu': 'wiki/ubuntu.md'
'ubuntu': 'wiki/ubuntu.md',
'lxc-images': 'wiki/lxc-images.md'
}
var new_mirrors = {
'ius': true,

11
wiki/lxc-images.md Normal file
View File

@ -0,0 +1,11 @@
LXC Images 镜像帮助
==================
LXC 1.0 以上版本增加了 `download` 模版,支持下载定义好的系统镜像。
欲使用 TUNA 镜像进行下载加速,可以在 `lxc-create -t download` 的选项部分,
增加 `--server mirrors.tuna.tsinghua.edu.cn/lxc-images` 即可,例如:
```
# lxc-create -t download -n my-container -- --server mirrors.tuna.tsinghua.edu.cn/lxc-images
```