.\" Man page generated from reStructuredText. . .TH "LXC-INFO" "1" "January 11, 2023" "2020.12 " "LAVA" .SH NAME lxc-info \- mock lxc-info 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\-info\fP command used by Linaro Automated Validation Architecture (LAVA). LXC is Linux Containers userspace tools. \fBlxc\-info\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\-info {\-n name} [\-s] [\-i] .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 \-s Always prints the container\(aqs state as RUNNING .TP .B \-i Always prints the container\(aqs IP address as 0.0.0.0 .UNINDENT .UNINDENT .sp \fBlxc\-info\fP accepts the above options. Any other option specified other than the above, will be ignored. .SH EXAMPLES .INDENT 0.0 .TP .B To see the mock container\(aqs state, use lxc\-info \-sH \-n container .TP .B To see the mock container\(aqs IP address, use lxc\-info \-iH \-n container .UNINDENT .sp The \(aqH\(aq option given above is ignored. .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\-create(1), lxc\-destroy(1), lxc\-device(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-2023, Linaro Limited .\" Generated by docutils manpage writer. .