Pim van den Berg
8fb6c1cee4
conf/debian-jessie: Use consistent /proc, /sys and /sys/fs/cgroup (v2)
...
Without this a systemd container won't start:
> $ lxc-start -n vagrant-base-stretch-amd64
> Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied
> [!!!!!!] Failed to mount API filesystems, freezing.
> Freezing execution.
See upstream commit: lxc-1.1.0.rc3-12-gf24a52d [Use consistent /proc, /sys and /sys/fs/cgroup (v2)]
2016-08-15 14:24:17 +02:00
Pim van den Berg
bbbf031932
add support for Debian 9 (stretch)
2016-08-15 14:24:17 +02:00
Michael Adam
a258028c65
Merge pull request #18 from viq/patch-1
...
Update salt repositories and key path
2016-08-15 14:19:12 +02:00
Michael Adam
39afec9dcd
Merge pull request #19 from nicobrevin/fix-puppetlabs-apt-url
...
Fix puppetlabs apt url
2016-08-15 14:18:16 +02:00
Michael Adam
5e55775fdd
Merge pull request #15 from oxyum/official_salt_for_ubuntu_lts
...
ubuntu: use salt packages from saltstack repos for lts releases
2016-08-15 14:14:31 +02:00
Michael Adam
179e82b01f
README: extend description of ADDPACKAGES a bit
...
Signed-off-by: Michael Adam <obnox@samba.org>
2016-08-15 14:09:17 +02:00
Martin Dahse
7037df1168
add additional package installation
2016-08-15 14:02:48 +02:00
Michael Adam
4e3be10bc8
Merge pull request #14 from developerinlondon/feature/add-ansible
...
Added ANSIBLE=1 flag for pre-installing ansible
2016-08-15 13:50:27 +02:00
Nick Griffiths
9f18938b56
Fix puppetlabs apt url
2016-07-28 09:55:23 +12:00
viq
dd1a868e38
Update salt repositories and key path
...
The address of repositories changed as listed at https://repo.saltstack.com/#debian - update to reflect that.
2016-07-14 16:33:10 +02:00
Ivan Fedorov
405e0b34a9
ubuntu: use salt packages from saltstack repos for lts releases
2016-06-07 21:49:46 +03:00
Nayeem Syed
1b6b4d151f
Added ANSIBLE=1 flag for pre-installing ansible
2016-04-29 17:18:53 +01:00
Michael Adam
31c3d48357
fedora: install a few extra packages
...
Signed-off-by: Michael Adam <obnox@samba.org>
2016-04-28 11:35:41 +02:00
Michael Adam
a4af7916e1
fedora: don't drop set_file_cap ...
...
Signed-off-by: Michael Adam <obnox@samba.org>
2016-04-28 11:32:07 +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
Michael Adam
a338597bf1
Merge pull request #10 from deric/readme
...
update outdated instructions
2016-04-28 10:49:01 +02:00
Michael Adam
71923d7313
Merge pull request #13 from erickeller/xenial
...
add xenial configuration
2016-04-28 10:47:21 +02:00
Tomas Barton
0dbdc64b88
remove outdated instructions
2016-04-28 10:42:14 +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
d471b7576d
Merge pull request #8 from erickeller/update_readme
...
update readme with Wily
2015-12-22 13:05:57 +01:00
Eric Keller
d15d7515e2
update readme with Wily
2015-12-21 13:48:28 +01:00
Michael Adam
b6ebb593e4
Merge pull request #6 from erickeller/remove_trailing_space
...
remove trailing space
2015-12-21 13:21:49 +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
Michael Adam
b42a24e013
Merge pull request #5 from erickeller/wily
...
add Ubuntu wily release
2015-12-21 13:20:17 +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
8abbd922ca
remove trailing space
2015-12-21 12:54:54 +01:00
Michael Adam
63005dffeb
Merge pull request #4 from erickeller/force_link
...
force symbolic link to /sbin/modprobe
2015-12-21 12:43:55 +01:00
Eric Keller
6f33140974
force symbolic link to /sbin/modprobe
2015-12-21 12:30:46 +01:00
Michael Adam
93d29d107c
Merge pull request #1 from erickeller/fix_typo_log
...
fix redirection typo to ${LOG}
2015-12-21 07:42:07 +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
df5f7ba2f6
Merge remote-tracking branch 'origin/master'
2015-12-07 15:00:37 +01:00
Fabio Rehm
a8bac11f2e
Merge pull request #41 from obnoxxx/pr-readme
...
Mention maintained fork by oboxxx in README.
2015-12-07 10:36:37 -02:00
Michael Adam
5cd378a99e
Update README with newly supported distros/versions.
2015-12-07 10:44:06 +01:00
Michael Adam
1735eb5958
README: mention obnoxxx' fork as maintained.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2015-12-07 10:44:06 +01:00
Michael Adam
45557e412d
fedora: add support for fedora 23
...
Signed-off-by: Michael Adam <obnox@samba.org>
2015-12-07 10:44:06 +01:00
Michael Adam
29dc6ed60b
fedora: add support for fedora 22
...
Signed-off-by: Michael Adam <obnox@samba.org>
2015-12-07 10:44:06 +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
4303dc0c3f
ubuntu: Add support for vivid
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
e84c681e38
fedora: add option MASK_TMP to prevent overmounting /tmp with tmpfs
...
this is important for use with vagrant-cachier
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
d3705133a9
fedora: don't drop the sys_nice capability to support running ctdb
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