DOKK / manpages / debian 10 / autopkgtest / autopkgtest-build-lxd.1.en
autopkgtest-build-lxd(1) General Commands Manual autopkgtest-build-lxd(1)

autopkgtest-build-lxd - Create or update autopkgtest container for autopkgtest-virt-lxd

autopkgtest-build-lxd image

autopkgtest-build-lxd creates or updates an LXD image which is optimized for autopkgtest's LXD runner autopkgtest-virt-lxd(1).

It builds a temporary container from an existing given image, runs autopkgtest's standard setup-commands/setup-testbed script, and publishes it as a new image with the alias autopkgtest/distro/release/architecture.

You can specify an apt proxy to use in the container in the $AUTOPKGTEST_APT_PROXY environment variable. If you have an apt proxy configured on the host, the container will automatically use this, otherwise there is no default.

For dist-upgrading image to a newer release you can specify the destination release in the $RELEASE environment variable. This is useful when a new distribution series has just been opened and there are no standard images for that available yet.

Build a local autopkgtest container image for Debian sid i386, based on the stock Debian image from the public images.linuxcontainers.org remote:

$ autopkgtest-build-lxd images:debian/sid/i386

autopkgtest-virt-lxd(1), autopkgtest(1), lxc(1), /usr/share/doc/autopkgtest/.

autopkgtest-build-lxd was written by Martin Pitt <martin.pitt@ubuntu.com>

This manpage is part of autopkgtest, a tool for testing Debian binary packages. autopkgtest is Copyright (C) 2006-2015 Canonical Ltd and others.

See /usr/share/doc/autopkgtest/CREDITS for the list of contributors and full copying conditions.

2015 Linux Programmer's Manual