Antonio Terceiro
56a2d30c41
lxc-debian: avoid installing unauthenticated packages
...
--force-yes is deprecated, and is a shortcut for
--allow-unauthenticated, --allow-downgrades, --allow-remove-essential,
--allow-change-held-packages. --allow-unauthenticated is the only
likely to be needed here, so instead of allowing unauthenticated
packages, copy any custom keyring used inside the rootfs so any packages
we need to install are properly authenticated. The common case is
debian-ports-archive-keyring.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
2022-04-10 06:39:07 -03:00
Antonio Terceiro
5479240fbd
lxc-debian: support unnoficial architectures out of the box
...
When trying to create containers for unnoficial Debian architectures,
use different defaults for mirror and keyring, install
debian-ports-archive-keyring, and default release to unstable. This way
one can create containers for unnoficial architectures without having to
pass several extra parameters.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
2022-04-10 06:31:35 -03:00
Antonio Terceiro
eebcd76feb
lxc-debian: allow using a custom keyring
...
This makes it possible to create containers for unofficial
architectures such as the ones on ports.debian.org, by specifying a
custom mirror and its associated keyring.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
2022-04-10 06:31:32 -03:00
Matthew Bruzek
4908a5e5fe
Changed security distribution to ${release}-security.
...
Signed-off-by: Matthew Bruzek <mbruzek@gmail.com>
2021-08-20 23:25:40 -05:00
Tanya Degurechaff
8af77c1136
Changed devuan gpg key remote location
...
Signed-off-by: Tanya <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-09-06 20:15:47 +02:00
Tanya Degurechaff
8678d4f836
Avoid failures if a mirror on https is selected
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-13 18:31:53 +02:00
Tanya Degurechaff
862a6098f0
Handle suite mismatch, don't download packages if update failed
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-13 18:29:08 +02:00
Tanya Degurechaff
92d4e109f1
Reformatting tabs and spaces in a coherent way
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-13 18:29:08 +02:00
Tanya Degurechaff
118c8f4699
Handle languages that are only UTF-8 encoded
...
Co-authored-by: Pierre-Elliott Bécue <peb@debian.org>
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
f91a618e02
Avoid warning 'stdin not a tty' in some cases
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
c1552e32f2
Fix indentation
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
8911d8ff4b
Fix timezone configuration
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
afa18e5a30
Force hostname inclusion in /etc/hosts
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
59e707a5ca
Quotation marks makes you think it's a string
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
fc18b362d8
Added DOWNLOAD_KEYRING in usage
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
bd16f6b10c
Added proper copyrights to fixes authors
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Tanya Degurechaff
52fa9b7360
Improved apt gpg management
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:52:41 +02:00
Anders
ae96852bbb
lxc-debian: fix incorrect use of basename instead of dirname
...
mkdir -p should create the dirname of the interpreter, not its basename.
Signed-off-by: Anders Oleson <anders-code@users.noreply.github.com>
2020-02-09 22:29:08 -08:00
Christian Brauner
711ed73634
initial commit
...
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-21 18:15:08 +01:00