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
KATOH Yasufumi
d9f1b169bc
plamo: more fixes configuration process related to pkgtools8
...
The previous patch had incomplete support for pkgtools8.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2021-08-18 14:00:32 +09:00
KATOH Yasufumi
da05bc38a6
plamo: Fix configuration process related to pkgtools8
...
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2021-08-17 20:19:29 +09:00
KATOH Yasufumi
285eda0c49
plamo: Support new pkgtools8
...
pkgtool, that is package manager for plamo, has been updated. The
package name is changed to pkgtools8, and change installation process
to match pkgtools8.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2021-08-12 23:10:52 +09: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
KATOH Yasufumi
551f56b5d5
plamo: fix for current Plamo 7.x
...
* glibc is now initialized when a container is first started
* pkgtools7 is not initialized when a container is first started
* initpkg is not execute in lxc-plamo
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2020-09-05 15:28:31 +09:00
KATOH Yasufumi
4c11070332
plamo: Support current pkgtools
...
Our package manager "pkgtools" is updated, and renamed "pkgtools7".
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2020-09-03 18:00:04 +09: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
Stéphane Graber
076cd7413d
Merge pull request #31 from TanyaEleventhGoddess/current
...
Improvements and bugfixes to templates/lxc-devuan.in and templates/lxc-kali.in
2020-07-07 08:36:43 -04:00
Stéphane Graber
997a85ae75
Merge pull request #32 from TanyaEleventhGoddess/devuan
...
Devuan LXC template
2020-07-07 08:34:58 -04: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
Tanya Degurechaff
10dc3b41f9
Added devuan and kali references to makefiles and fixed lxc-kali.in permissions
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:45:08 +02:00
Tanya Degurechaff
05a7be54fb
Improved Devuan template
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:45:08 +02:00
Tanya Degurechaff
d43cb69eec
Added basic devuan template
...
Signed-off-by: Tanya Degurechaff <34323200+TanyaEleventhGoddess@users.noreply.github.com>
2020-07-07 09:45:08 +02:00
Stéphane Graber
f26370b875
Merge pull request #29 from P-EB/master
...
[lxc-debian] Handle languages that are only UTF-8 encoded
2020-07-06 13:38:29 -04:00
Christian Brauner
1ba667a771
Merge pull request #25 from sdelafond/kali
...
Kali
2020-04-27 15:48:15 +02:00
Pierre-Elliott Bécue
e370cacc6c
[lxc-debian] Handle languages that are only UTF-8 encoded
...
Signed-off-by: Pierre-Elliott Bécue <becue@crans.org>
2020-03-20 12:13:45 +01: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
Sébastien Delafond
9b07574ece
Add -r/--release to kali template
...
Signed-off-by: Sébastien Delafond <sdelafond@gmail.com>
2020-01-13 15:56:28 +01:00
Andreas Baumann
2b9c1833c1
added systemd-sysvcompat (/sbin/init missing when starting container)
...
Signed-off-by: Andreas Baumann <mail@andreasbaumann.cc>
2019-10-31 16:43:42 +01:00
Re4son
1f6af7d595
Add kali-linux distro
...
Signed-off-by: Re4son <re4son@kali.org>
2019-05-25 07:43:57 +10:00
Christian Brauner
13f7bd7f44
Merge pull request #16 from CC-Hsu/patch-1
...
Add new dependency for wget for lxc-slackware template
2019-04-03 13:09:42 +02:00
KATOH Yasufumi
937758dba9
plamo: Support https as download scheme and default to https
...
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2019-04-02 16:01:13 +09:00
KATOH Yasufumi
5f76c3c34c
plamo: Workaround for building plamo 32bit 6.x container on current 7.x
...
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2019-03-14 18:08:59 +09:00
CC-Hsu
0815f1a102
Add new dependency for wget for lxc-slackware template
...
Two more packages: libpsl and pcre2.
These libraries are needed by wget command, which is used in the built-in package manager, slackpkg.
Signed-off-by: CCHsu <a12321aabb@gmail.com>
2019-02-25 23:04:19 +08:00
Stéphane Graber
a5eea201a1
sabayon: Don't fail on existing directories
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-11-09 13:41:28 -05:00
KATOH Yasufumi
e67a9da9ef
plamo: Update the default version to 7.x
...
Now, 7.x is our stable version.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-10-05 16:56:17 +09:00
Kaarle Ritvanen
73de1660d4
alpine: make dropping setpcap optional
...
capability required e.g. by strongswan
Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
2018-09-29 18:30:52 +03:00
Markos Chandras
53ab98b87e
templates: lxc-opensuse.in: Fix openSUSE Leap 15 cache url
...
The repo layout has changed in Leap 15 so we need to adapt it. Moreover,
the required packages for Leap 15 mimic those for Tumbleweed.
Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-26 16:58:41 +01:00
Markos Chandras
39ba2322d8
templates: lxc-opensuse.in: Ensure cache is fully populated
...
We build our LXC rootfs based on a minimal openSUSE cache. However,
since we are only using this cache to bootstrap the rootfs, we need to
make sure that all packages are present there otherwise we see failures
like the following one
expanding package dependencies...
expansion error
nothing provides net-tools
nothing provides iproute2
Failed to download 'opensuse base'
Most of the needed packages are being pulled in indirectly as
dependencies of other packages but we should be more explicit since
dependencies could change in the future. Finally, we pass
'--no-recommends' in order to have better control of what packages are
being pulled into the cache.
Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-26 16:10:05 +01:00
Markos Chandras
2dc3dc54a5
templates: opensuse: Drop support for EOL distributions
...
All releases prior to 42.X have reached EOL so we can drop these
codepaths in order to simplify the code. This also fixes an indentation
issue.
Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-26 15:43:46 +01:00
Markos Chandras
fe50a94b2b
templates: opensuse: Add support for openSUSE Leap 15
...
We add support for the newly released openSUSE Leap 15. Moreover we fix
some indentation issues and also switch the default distro to Leap 15
since 42.1 has been EOL'd long time ago.
Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-08 09:23:02 +01:00
Andreas Freudenberg
92fd4dd9ad
fedora: support Fedora 28
...
Signed-off-by: Andreas Freudenberg <andreas.freudenberg@licomonch.net>
2018-06-06 16:55:21 +02:00
Nikolay Martynov
dcd92c8556
Pass $name
to init.lxc
...
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
2018-05-11 20:40:19 -04:00
Nikolay Martynov
5e7e741c1b
Use lxc.autodev
...
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
2018-05-11 20:40:17 -04:00
KATOH Yasufumi
c21d6188c0
plamo: Add support for Plamo 7.x
...
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-03-01 18:22:44 +09:00
Stéphane Graber
cb2e0841e6
Drop busybox (still in main repo)
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-02-28 19:05:25 -05:00
Christian Brauner
711ed73634
initial commit
...
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-21 18:15:08 +01:00