[pkg-lxc-devel] Bug#1073130: LXC debian template can't parse --mirror args on Bookworm

Eppii eppii at gandi.net
Thu Jun 13 08:54:49 BST 2024


Package: lxc-templates
Version: 3.0.4.48.g4765da8-1

||/ Name           Version             Architecture Description
+++-==============-===================-============-============================================
ii  lxc-templates  3.0.4.48.g4765da8-1 amd64        Linux Containers userspace tools (templates)

Hello !

Context: we want to create a lxc with the lxc-debian template on a bookworm server without any access to internet.

We identified following bug preventing to achieve our goal and had to edit the /usr/share/lxc/templates/lxc-debian to succeed.

Description:

The —mirror option does not work anymore due to missing comma line 757:

-options=$(getopt -o hp:n:a:r:cI:FS: -l arch:,auth-key:,clean,help,enable-non-free,mirror:keyring:,name:,packages:,path:,release:,rootfs:,security-mirror:,interpreter-path:,flush-cache -- "$@“)
+options=$(getopt -o hp:n:a:r:cI:FS: -l arch:,auth-key:,clean,help,enable-non-free,mirror:,keyring:,name:,packages:,path:,release:,rootfs:,security-mirror:,interpreter-path:,flush-cache -- "$@“)

Regards

Eppii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20240613/056cd875/attachment.htm>


More information about the Pkg-lxc-devel mailing list