Commit graph

133 commits

Author SHA1 Message Date
Fabio Rehm c7f5a567a9 boxes: Redirect puppet.deb wget to log file 2014-03-09 21:21:38 -03:00
Fabio Rehm 85d36bfd41 boxes: Implement make clean 2014-03-09 21:21:38 -03:00
Fabio Rehm ff3baf1cd4 boxes: Improved output logging 2014-03-09 21:21:38 -03:00
Fabio Rehm 74cf06b148 boxes: Sleep for 5 seconds after starting the container so that is has some time to get its network ready 2014-03-09 21:21:38 -03:00
Fabio Rehm 2c7e6fb600 boxes: Move colors out to the UI file 2014-03-09 21:21:38 -03:00
Fabio Rehm e69441a99b boxes: Improve CM handling 2014-03-09 21:21:38 -03:00
Fabio Rehm 7effe1f092 boxes: Support for building raring machines 2014-03-09 21:21:38 -03:00
Fabio Rehm e598086913 boxes: Backport GH-92 2014-03-09 21:21:38 -03:00
Fabio Rehm a7074545ed boxes: Ensure locales are properly set on debianoid boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm 3ff6046228 boxes: Skip puppet installation on Ubuntu Trusty as it is not supported ATM 2014-03-09 21:21:38 -03:00
Fabio Rehm cd23804046 boxes: Prevent puppet and chef from being reinstalled 2014-03-09 21:21:38 -03:00
Fabio Rehm dbb6d1f131 boxes: Add missing public vagrant ssh key 2014-03-09 21:21:38 -03:00
Fabio Rehm 921e08bdb4 boxes: Get rid of old scripts 2014-03-09 21:21:38 -03:00
Fabio Rehm 1b8fb6137b Bring back support for installing provisioners on ubuntu base boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm 8d3d84aef2 Finish basic version of the new ubuntu base boxes build 2014-03-09 21:21:38 -03:00
Fabio Rehm f927f65ec1 Getting close to finish new structure for building ubuntu boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm 4a18c7a05a Fix vagrant sudoers file permissions 2014-03-09 21:21:38 -03:00
Fabio Rehm 3b1055c843 New base box template 2014-03-09 21:21:38 -03:00
Fabio Rehm 420a49c870 Base box cleanup script and rootfs compression 2014-03-09 21:21:38 -03:00
Fabio Rehm 8fec240ae6 Improve UI for package and clean scripts 2014-03-09 21:21:38 -03:00
Fabio Rehm bd9b2e8957 Install debian extras 2014-03-09 21:21:38 -03:00
Fabio Rehm dce843db12 Improved base boxes scripts UI and implement prepare-vagrant-user.sh 2014-03-09 21:21:38 -03:00
Fabio Rehm 12bc88805a Implement download step 2014-03-09 21:21:38 -03:00
Fabio Rehm f070e9ec5b Scaffold the new structure for building base boxes 2014-03-09 21:21:38 -03:00
Antonio Terceiro 1d28e3d213 boxes scripts: give real total sudo access
Without this, commands like `sudo -u $USER $COMMAND` will not work.
2014-03-09 21:21:32 -03:00
Laurent Vallar 1d3e3901c7 Support current LANG environment variable if any.
Signed-off-by: Laurent Vallar <val@zbla.net>
2014-03-09 21:20:55 -03:00
Laurent Vallar 773e717fd9 Enable bash-completion as it's installed
Signed-off-by: Laurent Vallar <val@zbla.net>
2014-03-09 21:20:55 -03:00
Abe Voelker bba250255a Fix broken locale in Ubuntu boxes 2014-03-09 21:20:55 -03:00
Abe Voelker 9ed8f0c205 Fix apt-get error when building Ubuntu boxes 2014-03-09 21:20:51 -03:00
Darrell Hamilton b7c29be732 comments reflect implementation 2014-03-09 21:19:55 -03:00
Darrell Hamilton 774e8175eb Complete NOPASSWD for vagrant
Previously, vagrant could not do everything with passwordless sudo.  Eg.
`sudo -u other-user ls` would ask for a sudo password, causing tools
like ansible to hang when trying to execute commands as another user.
2014-03-09 21:19:55 -03:00
Darrell Hamilton ba2569c222 Only give vagrant NOPASSWD ALL 2014-03-09 21:19:55 -03:00
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