Commit Graph

24 Commits

Author SHA1 Message Date
Virgil Dupras 2802008032 Fix all builds for LXC v3.0 2018-04-30 22:04:29 -04:00
Virgil Dupras 00a4664d73 Add gentoo dist
and remove ${LOG}. It's a bit of a useless mechanism and, in fact a
hindrance. Why not just let the user redirect stdout?
2018-04-22 21:59:45 -04:00
Virgil Dupras cb8b3e3df2 Remove obsolete config injection (kmsg) 2018-04-22 20:17:39 -04:00
Pim van den Berg bbbf031932 add support for Debian 9 (stretch) 2016-08-15 14:24:17 +02:00
Michael Adam 2844899338 download.sh: consisten lazy evaluation in checks
Use && rather than -a so second expression is not evaluated
if first does not match.

Signed-off-by: Michael Adam <obnox@samba.org>
2016-04-28 11:27:37 +02:00
Michael Adam 1e964f8438 Revert "fix comparing string to a number"
This reverts commit 2fcf0222f7.

It was accidentially merged with PR#12 - password aging on CentOS.
I think it is wrong so reverting from now...
2016-04-28 10:53:56 +02:00
Michael Adam 4fc2ed880d Merge pull request #12 from deric/passwd-aging
Passwd aging on CentOS
2016-04-28 10:52:50 +02:00
Eric Keller 111a0c1f3c add xenial configuration 2016-03-12 21:02:13 +01:00
Tomas Barton 78ca2defaa disable password againg for root 2016-03-12 16:24:46 +01:00
Tomas Barton 2fcf0222f7 fix comparing string to a number 2016-03-11 22:18:40 +01:00
Michael Adam 2d1792dbb1 Merge pull request #7 from erickeller/fix_integer_comparison
fix integer comparison
2015-12-21 13:21:19 +01:00
Eric Keller 4eb2fced3c add Ubuntu wily release 2015-12-21 13:18:49 +01:00
Eric Keller 61ac850ba0 fix integer comparison 2015-12-21 12:58:50 +01:00
Eric Keller 24c3d73a53 fix redirection typo to ${LOG}
This commit fixes the redirection of std error to the ${LOG} file.
It was starting all lxc command in background, resulting in unpredictable failures.
2015-12-15 17:41:59 +01:00
Michael Adam c8c0a53835 fedora: add support for rawhide.
This assumes that the lxc-fedora template knows how
to deal with "rawhide".
2015-12-07 10:44:06 +01:00
Michael Adam 381fafc041 improve systemd preparations: remove /dev/kmsg inside the container
This is to cope with containers that have been created
not systemd-aware.
2015-12-07 10:44:06 +01:00
Michael Adam 76cbb0fc89 debian: fix jessie lxc config to support systemd
The lxc-debian template aready does this, but apparently
the download template does not. We need to adapt the config
for installation as well as provide a version-specific config
for packaging the box.
2015-12-07 10:44:06 +01:00
Michael Adam 022112d019 Support having version-specific lxc-config as conf/${DISTRIBUTION}-${RELEASE}
if present, this is used, otherwise conf/${DISTRIBUTION} as before.
2015-12-07 10:44:06 +01:00
Michael Adam 6e382c156c fedora: support fedora 21.
The download template doesn't have f21 (yet).
So use fedora template for lxc-create.

Signed-off-by: Michael Adam <obnox@samba.org>
2015-12-07 10:44:06 +01:00
Michael Adam 6bfbe0e8d7 Add support to set up fedora boxes.
Currently only f20 and f19 are provided by the lxc-download template,
not f21.
2015-12-07 10:44:06 +01:00
有张纸 b0cb4fe798 Update utils.sh
fix "syntax error near unexpected token `>'"
2015-03-06 15:45:04 +08:00
Fabio Rehm a814d9424a CentOS scripts 2014-09-24 12:16:20 -03:00
Fabio Rehm 81bf2e6090 Use lxc-create for building wheezy base boxes as it seems that the downloaded container is having some trouble with apt repositories 2014-09-23 00:31:10 -03:00
Fabio Rehm 5edf778f0b Import from vagrant-lxc 2014-03-25 00:27:48 -03:00