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
Fabio Rehm
0e066e7a1c
Fix ubuntu lxc template
2013-05-05 12:54:01 -03:00
Fabio Rehm
878b701b65
Use debian release as hostname when creating debian boxes
2013-05-05 11:27:54 -03:00
Fabio Rehm
2df893e4f4
Remove extra parameter for ubuntu lxc-template function
2013-05-05 11:09:57 -03:00
Fabio Rehm
f07179e582
Clean up box packaging rake task
2013-05-05 10:57:12 -03:00
Laurent Vallar
f141443564
Copy default lxc.cgroup.devices.allow from ubuntu template
2013-05-03 23:23:33 -03:00
Laurent Vallar
32ff855968
Avoid trouble when using lxc-console
2013-05-03 23:23:23 -03:00
Fabio Rehm
37cf1e4e31
Disable /tmp
cleanup on start for base debian boxes
...
References #68
2013-05-01 22:23:00 -03:00
Fabio Rehm
06a0d66616
"Merge" in code from debian lxc template that comes with Ubuntu 13.04
2013-05-01 22:01:59 -03:00
Fabio Rehm
4759adf143
Minor clean up for debian base boxes scripts
2013-05-01 18:33:54 -03:00
Laurent Vallar
d0fb7ef750
remove localepurge
2013-04-30 18:17:09 +02:00
Laurent Vallar
4707068d25
commenting LXC networking options (configured by vagrant)
2013-04-30 17:35:21 +02:00
Laurent Vallar
6736d34a99
Remove veth name definition
2013-04-30 17:14:30 +02:00
Laurent Vallar
199012e045
Fix interface name 'vethXXXX' too long (>15)
2013-04-30 16:36:09 +02:00
Laurent Vallar
224f73e0ff
Support unstable release name for sid
2013-04-30 16:35:23 +02:00
Laurent Vallar
f27bbbb599
Fix silent install of Babushka
2013-04-30 15:44:42 +02:00
Laurent Vallar
4487ac5751
Add CA certificates (needed for curl/wget configuration engine download after downloading)
2013-04-29 16:17:46 +02:00
Laurent Vallar
14bd12e4ce
Wrong package name for ping tool
2013-04-29 15:26:06 +02:00
Laurent Vallar
a5fd547859
Non interactive babushka install
2013-04-29 15:25:48 +02:00
Laurent Vallar
14afc0b814
Fix $LANG support
2013-04-29 11:12:55 +02:00
Laurent Vallar
7f338da734
Add ping package to test networking after build
2013-04-29 11:12:42 +02:00
Laurent Vallar
9f7f1dd315
Add Debian wheezy/sid base box templates
...
Refactor boxes rake task
Create common directory for common installation scripts
Move Debian/Ubuntu common installation scripts
2013-04-25 17:54:54 +02:00
Fabio Rehm
4e136452cd
Remove quantal64 specific code for building base boxes
2013-04-21 22:31:15 -03:00
Fabio Rehm
098e3a633d
Switch arch
usage to uname -m
on base ubuntu lxc template
...
Fixes #53
2013-04-21 22:30:03 -03:00
Fabio Rehm
b95b43fe87
Finish ubuntu box "build abstraction"
2013-04-21 22:23:49 -03:00
Fabio Rehm
1561944967
Begin to rework box packaging tasks
2013-04-21 21:31:30 -03:00
Fabio Rehm
a72421c225
Bump box version
2013-04-05 22:10:48 -03:00
Fabio Rehm
31a514f1f5
Change quantal64 lxc template to accept a rootfs tarball
2013-04-05 22:10:47 -03:00
Fabio Rehm
77e9a9864a
Remove temp files from quantal64 rootfs after downloading it
2013-04-05 22:10:40 -03:00
Fabio Rehm
666482304d
Remove container architecture from quantal64 rootfs folder when building it
2013-04-05 22:10:14 -03:00
Fabio Rehm
4ea3395872
Revert "Use ubuntu mirrors for debootstrapping"
...
This reverts commit 8a3c68b240
and fixes #38
Conflicts:
boxes/quantal64/download-ubuntu
2013-04-05 22:10:13 -03:00
Fabio Rehm
37173cb8ee
Change metadata's vagrant-lxc-version attribute to just version as it represents the metadata version and not the gem version itself
2013-03-30 19:14:31 -03:00
Fabio Rehm
fcaf98d669
Avoid vagrant user creation on quantal64 base box in case it has already been created
2013-03-30 16:54:58 -03:00
Fabio Rehm
a33b32c164
Speed up containers creation by removing unneded rsync call from lxc-template
...
Was able to drop project's "/example" `vagrant up` from 42s down to 29s
Closes #40
2013-03-29 02:07:38 -03:00
Fabio Rehm
b63ed73521
Install man-db and psmisc on base quantal64 box
2013-03-26 22:05:20 -03:00
Fabio Rehm
75e0502b1a
Installs chef on base quantal64 box
...
Closes #37
2013-03-26 22:03:56 -03:00
Fabio Rehm
bdb8150a06
Install puppet 3.1.1 on base quantal64 box
2013-03-26 22:03:31 -03:00
Fabio Rehm
731ce84d5a
Install manpages and puppet on base box
2013-03-10 02:27:19 -03:00
Fabio Rehm
b9013a4586
Set base box hostname to quantal64
2013-03-10 02:00:03 -03:00
Fabio Rehm
e757563d9d
Install curl, wget and bash-completion packages when building quantal64 base box
2013-03-08 01:40:58 -03:00
Fabio Rehm
8a3c68b240
Use ubuntu mirrors for debootstrapping
2013-03-08 01:39:56 -03:00
Fabio Rehm
75378caf01
Remove cloud image related files
2013-03-07 02:00:09 -03:00
Fabio Rehm
8e1a656cc6
Tweak templates for quantal 64 to ease integration with vagrant
2013-03-07 01:59:14 -03:00
Fabio Rehm
3a2ffbd06f
Build quantal 64 box with new json metadata
2013-03-06 23:02:56 -03:00
Fabio Rehm
7f7e3d8a51
Remove bindhome support from quantal 64 lxc template
2013-03-06 22:39:16 -03:00
Fabio Rehm
bd05b44647
Change quantal-64 lxc template default user from ubuntu to vagrant
2013-03-06 22:38:50 -03:00
Fabio Rehm
8448c53155
Begin work on new box format
...
This commit just add the default /usr/share/lxc/templates/lxc-ubuntu
that comes with Ubuntu 12.10, added without changes in order to keep
track of what had to be done to suit vagrant-lxc needs
2013-03-06 22:38:18 -03:00
Fabio Rehm
2d33c8750e
Need to run apt-get update before installing puppet
2013-03-04 19:44:49 -03:00
Fabio Rehm
b06d755926
Install puppet on ubuntu-cloud after the machine is set up
2013-03-04 19:31:40 -03:00
Fabio Rehm
9d45a25c1a
Change ubuntu-cloud lxc template to accept a --cache-path argument
2013-03-02 23:13:15 -03:00
Fabio Rehm
fd611d3d1a
A whole bunch of tweaks to ubuntu-cloud box
2013-03-02 16:49:55 -03:00
Fabio Rehm
e1f62e4e56
Build ubuntu cloud box with the required metadata and remove dummy box
2013-03-02 12:26:19 -03:00