Commit graph

101 commits

Author SHA1 Message Date
Adam Stokes
c2f4cfda4f Fix ppa support in ubuntu installs
Rather than determining what package to install on which series, just install
them both for the time being as they don't seem to conflict in any current
series.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2014-03-09 21:19:55 -03:00
Adam Stokes
7ef475c7e1 Include python-software-properties
For some reason I never had this in the common script and apt-add-repository
was not provided. This solves that.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2014-03-09 21:19:55 -03:00
Fabio Rehm
3d017ce3bd Convenience script for building all base boxes 2013-11-06 22:09:56 -02:00
Fabio Rehm
5833e262aa Merge pull request #167 from avokhmin/openmandriva
small refactoring, added scripts for Openmandriva
2013-10-23 17:57:47 -07:00
Fabio Rehm
9e3b371e11 Tweak lxc-template as an attempt to make it compatible with Ubuntu 13.10 [GH-150] 2013-10-22 22:31:26 -02:00
Vokhmin Alexey V
3375a9c40c small refactoring, added scripts for Openmandriva 2013-10-21 23:11:43 +04:00
Sylvain Fankhauser
0cb430a4ca Fix salt install on debian boxes 2013-10-12 15:50:13 +02:00
Fabio Rehm
6b823e8dcb Support rootfs param on generic lxc-template 2013-09-27 12:24:21 -03:00
Fabio Rehm
2c0000b8cc Clean up after ourselves when building base boxes 2013-09-20 23:34:37 -03:00
Fabio Rehm
5f42f2b4dd Backport #91 2013-09-20 23:01:24 -03:00
Fabio Rehm
c49dfc59ea Minor tweaks for the base ubuntu box script 2013-09-20 22:12:26 -03:00
Fabio Rehm
22040ba4c2 Add script for building debian base boxes 2013-09-20 22:10:54 -03:00
Fabio Rehm
0f31b51e2d Embed vagrant key into builder script to avoid downloading it all the time 2013-09-19 18:58:06 -03:00
Fabio Rehm
2f3d1c27ce Assume that we are running the ubuntu base box builder with a local checkout + add date / time to box metadata.json 2013-09-19 18:41:23 -03:00
Fabio Rehm
50e82f61b1 Remove unused arguments from generic lxc template and introduce support for the rootfs param 2013-09-19 18:24:08 -03:00
Fabio Rehm
076a9e38df Bring back "generic" template that was accidentally removed 2013-09-19 18:16:05 -03:00
Fabio Rehm
e1f91efc3a apt-get upgrade when building base boxes 2013-09-19 18:14:09 -03:00
Fabio Rehm
7efef2a489 Just enough code to deal with building base ubuntu boxes with support for configuration management tools 2013-09-19 12:02:14 -03:00
Fabio Rehm
379b030f64 💣 old stuff 2013-09-19 01:41:02 -03:00
Fabio Rehm
37aeabbeff Add new bash script to build base ubuntu box 2013-09-18 22:52:47 -03:00
Fabio Rehm
03b262319f boxes/ubuntu: Configure vagrant user
This commit applies @smaftoul patch from https://gist.github.com/smaftoul/2d6fcf43b7c6545aa588/revisions
2013-09-18 22:19:01 -03:00
Fabio Rehm
739e602794 %s/@LOCALSTATEDIR@/\/var/g 2013-09-18 22:19:01 -03:00
Fabio Rehm
a1c7a4ece0 Add ubuntu lxc template from staging (188e0ab60b/templates/lxc-ubuntu.in) 2013-09-18 22:19:01 -03:00
Fabio Rehm
dbc6c8b231 Scaffold new base boxes rake tasks and remove old files 2013-09-18 22:19:01 -03:00
Adam Stokes
9207ed49ba Append sources repository for any build-dep requirements
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-21 18:35:01 -04:00
Adam Stokes
d2d131cefb Fix binary name for apt repository
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-19 17:32:42 -04:00
Adam Stokes
5b5719295d Include saltstack support within custom lxc builds
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2013-07-19 16:48:21 -04:00
Fabio Rehm
6c52ef8255 Ensure container's rootfs is set on config file
Makes our lives easier as we are able to just run a `lxc-start -n CONTAINER`
to check how things are doing without having to go through vagrant.
2013-07-12 01:29:13 -03:00
Fabio Rehm
c3e6eb4e51 Manually apply #92 on new finalize script used to build V3 base boxes 2013-06-27 01:30:18 -03:00
Fabio Rehm
198ef66cad Merge pull request #92 from stucki/issue-91
Fix IP address in Debian box templates
2013-06-26 21:24:39 -07:00
Fabio Rehm
f3ff5c9f24 Remove hwaddr from base lxc.conf so that each container gets a different one when running the generic lxc template 2013-06-08 13:55:29 -03:00
Fabio Rehm
1c5727dd7b Remove dead code from debian finalize script 2013-06-08 02:41:43 -03:00
Fabio Rehm
a5eb824fa4 Extract script to finalize debian base boxes 2013-06-08 01:30:02 -03:00
Fabio Rehm
7bd9377fa6 Add missing mount points to base lxc config file 2013-06-08 01:26:32 -03:00
Fabio Rehm
8e51384802 Extract script to finalize ubuntu boxes 2013-06-07 21:45:13 -03:00
Fabio Rehm
58435e3462 Remove dead code from common lxc template 2013-06-07 21:45:13 -03:00
Michael Stucki
1bef25364a Update /etc/hosts for Ubuntu templates
Change the Ubuntu hosts file similar to Debian
2013-06-06 22:46:16 +02:00
Michael Stucki
70f3b90f6f Remove sed magic to set /etc/hosts for Debian templates
Hosts file is changed according to
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
2013-06-06 22:46:15 +02:00
Michael Stucki
1bb2bc244a Use 127.0.1.1 for local host name alias
Fixes #91
2013-06-06 22:46:07 +02:00
Fabio Rehm
663ff1fc0d Add base lxc config file 2013-06-05 23:58:56 -03:00
Fabio Rehm
ba7bc580f5 Add new common metadata json file for v3 boxes 2013-06-05 23:58:56 -03:00
Fabio Rehm
aca88e2407 Extract a general purpose experimental lxc template 2013-06-05 23:58:56 -03:00
Fabio Rehm
5eb15d8667 Get rid of rootfs removal on lxc-templates
I'm not even sure why I added this but removing it fixes #81
2013-06-05 21:48:41 -03:00
Fabio Rehm
aa222974eb Set the hostname on /etc/hosts for debian boxes in case it is not set
For some reason Squeeze does not add that for us
2013-05-08 15:35:12 -03:00
Fabio Rehm
ebad7b1a07 Fix paswordless sudo for squeeze boxes
Closes #63
2013-05-08 15:33:35 -03:00
Fabio Rehm
a230a48411 Force container locales to be "en_US.UTF-8" regardless of host's $LANG 2013-05-08 15:30:51 -03:00
Fabio Rehm
8a8fd73351 Minor tweaks to download scripts for debian boxes download 2013-05-08 15:25:02 -03:00
Fabio Rehm
056c492dfc "Merge" in updates from ubuntu lxc template from Ubuntu Raring 2013-05-07 18:29:18 -03:00
Fabio Rehm
80d77828d8 Set debian boxes network hwaddr
Required by failback mechanism used to fetch container ip based on dnsmasq leases
2013-05-07 01:53:54 -03:00
Fabio Rehm
f2be75a45d Pass in --force-yes when installing puppet on base boxes 2013-05-06 16:09:45 -03:00