Commit graph

90 commits

Author SHA1 Message Date
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
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
Michael Adam 08d43ba233 Fix indentation in Makefile. 2015-12-07 10:44:06 +01:00
Michael Adam d4d45b83be centos: install openssh-server
without it, "vagrant up" fails.
2015-12-07 10:44:06 +01:00
Michael Adam 10f4e31251 centos: install the EPEL repository and bash-completion if EPEL=1 2015-12-07 10:44:06 +01:00
Michael Adam ea5bcc5080 centos: nfs-common does not exist and I don't want to install nfs server 2015-12-07 10:44:06 +01:00
Michael Adam 1b3da2b910 centos: bash-completion does not exist in plain centos 2015-12-07 10:44:06 +01:00
Michael Adam ea1f9efb26 centos: package python-software-properties does not exist here
And I don't know a package to provide the same classes.
2015-12-07 10:44:06 +01:00
Michael Adam 3b7802e29f centos: on centos, the package is "man", not "man-db". 2015-12-07 10:44:06 +01:00
Michael Adam cdbae4317d centos: sleep for 20 instead of 10 seconds...
Somehow bringing up the network takes longer on my fedora host.
Possibly related to some integration / registration with systemd.
2015-12-07 10:44:06 +01:00
Michael Adam 0e382b9a3d Support building Ubuntu 14.10 (utopic) boxes. 2015-12-07 10:44:06 +01:00