.\" Man page generated from reStructuredText. . .TH "LXC-CREATE" "1" "March 31, 2019" "2019.01 " "LAVA" .SH NAME lxc-create \- mock lxc-create command used by LAVA . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SUMMARY .sp Mocks \fBlxc\-create\fP command used by Linaro Automated Validation Architecture (LAVA). LXC is Linux Containers userspace tools. \fBlxc\-create\fP does not use LXC. It is part of \fBlava\-lxc\-mocker\fP, which mocks some of the LXC commands used by LAVA. .SH SYNOPSIS .sp lxc\-create {\-n name} [\-q] [\-\- \-\-packages] .SH OPTIONS .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .TP .BI \-n \ NAME Use container identifier NAME. The container identifier format is an alphanumeric string. It creates a directory /var/lib/lxc/NAME and creates symbolic link /var/lib/lxc/NAME/rootfs with target as / (the root) .UNINDENT .UNINDENT .UNINDENT .INDENT 0.0 .TP .B optional argument: .INDENT 7.0 .TP .B \-q quite or mute on .UNINDENT .INDENT 7.0 .TP .B \-\- \-\-packages=PACKAGE_NAME1,PACKAGE_NAME2,... List of packages to install. Comma separated, without space. Note: this option is prefixed by \(aq\-\- \(aq .UNINDENT .UNINDENT .sp \fBlxc\-create\fP accepts the above options. Any other option specified other than the above, will be ignored. .SH EXAMPLES .INDENT 0.0 .TP .B To create a mock container and install packages, use lxc\-create \-q \-t debian \-n container \-\- \-\-release sid \-\-packages systemd,systemd\-sysv .UNINDENT .SH NOTE .sp The commands provided by \fBlava\-lxc\-mocker\fP are simple shell scripts that use the same command names mocking some LXC commands and does not use LXC. \fBlava\-lxc\-mocker\fP commands still need to be executed in the same sequence as a typical LXC operation. In particular, once a container has been created, that container needs to be destroyed to clean up the symlinks and other artifacts. .SH SEE ALSO .sp lava\-lxc\-mocker(7), lxc\-attach(1), lxc\-destroy(1), lxc\-device(1), lxc\-info(1), lxc\-start(1), lxc\-stop(1) .SH LICENSE .sp Released under the MIT License: \fI\%http://www.opensource.org/licenses/mit\-license.php\fP .SH AUTHOR Senthil Kumaran S .SH COPYRIGHT 2010-2019, Linaro Limited .\" Generated by docutils manpage writer. .