Commit 308f4f39 by Michael Adam Committed by Stéphane Graber

lxc-download: make --list more useful.

Make it possible to use --list without having to specify --dist, --release, and --arch, which does not make a lot of sense. Signed-off-by: 's avatarMichael Adam <obnox@samba.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent e145b7bb
...@@ -266,8 +266,10 @@ fi ...@@ -266,8 +266,10 @@ fi
# Check that we have all variables we need # Check that we have all variables we need
if [ -z "$LXC_NAME" ] || [ -z "$LXC_PATH" ] || [ -z "$LXC_ROOTFS" ]; then if [ -z "$LXC_NAME" ] || [ -z "$LXC_PATH" ] || [ -z "$LXC_ROOTFS" ]; then
if [ "$DOWNLOAD_LIST_IMAGES" != "true" ]; then
echo "ERROR: Not running through LXC." 1>&2 echo "ERROR: Not running through LXC." 1>&2
exit 1 exit 1
fi
fi fi
USERNS=$(in_userns) USERNS=$(in_userns)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment