Commit graph

508 commits

Author SHA1 Message Date
Anders Ingemann
6c0e9b1692 Add license 2014-04-02 21:26:14 +02:00
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
Anders Ingemann
fe2f7724bc Merge pull request #57 from myhro/fix-guestadditions
Comment the usage of log_call()
2014-04-02 18:42:19 +02:00
Tiago Ilieve
c22c6fe69d Comment the usage of log_call()
Add two comments to the InstallGuestAdditions, explaining why its return
code will not be checked with `log_check_call()` or even manually
grabbing the status informed by `log_call()` itself.

Previously discussed on the #55 issue and 43e3d96 commit.
2014-04-02 11:43:13 -03:00
Anders Ingemann
a037acc673 Merge pull request #55 from myhro/fix-guestadditions
Don't check Guest Additions installation status
2014-04-02 08:36:32 +02:00
Tiago Ilieve
0fb8b38158 Remove status/out/err atribution from log_call 2014-04-02 00:31:22 -03:00
Tiago Ilieve
43e3d9678a Don't check Guest Additions installation status
I've been discussing that with Anders for over a week and we agreed that
checking the return code of the Guest Additions installation is just a
waste of time. It seems to return 1 no matter what happen, like:

- It has been launched without administrator privileges: OK
- Requirements like bzip2 and gcc are missing: OK
- Kernel headers or dkms are missing: OK
- It was installed successfully, but without X11 drivers: ???

There isn't even a way (at least until the current 4.3.x version) to
disable the X11 drivers installation. The `--nox11` option, just "Do not
spawn an xterm".

And the worst part: until the version 4.2.x, it returned 0 if it could
be installed with no errors beside this one about the missing X11
drivers. This means that this verification will most likely fail on any
other version older than 4.3.x, preventing the build from finishing in a
successful way. So, we can't really rely on its return code whatsoever.

That said, neither him or me likes the idea of ignoring the return code
of a command. It just happens that we can't do anything about that.
2014-04-01 23:37:45 -03:00
Anders Ingemann
8495a5a421 Merge pull request #53 from myhro/tasksel
Add option to install packages from tasksel
2014-04-01 23:46:09 +02:00
Tiago Ilieve
f3abb0d85c Use log_check_call instead of subprocess module 2014-04-01 18:11:52 -03:00
Tiago Ilieve
60dbbee731 Add option to install packages from tasksel 2014-04-01 17:18:49 -03:00
Anders Ingemann
f315915a73 Merge pull request #52 from jaybonci/chef-plugin
Chef plugin
2014-04-01 08:35:38 +02:00
Jay Bonci
c8b916b5a2 Abstracted some of the copy_tree stuff out 2014-04-01 01:19:40 +00:00
Jay Bonci
b56bf53573 Simple chef plugin based on the puppet plugin 2014-04-01 00:23:24 +00:00
Anders Ingemann
a2f0b794b1 Merge pull request #50 from odyssey4me/grub-console-support
Add console output to serial when using grub
2014-03-31 18:29:56 +02:00
Jesse Pretorius
dab1dfa930 Add console output to serial when using grub 2014-03-31 14:16:16 +02:00
Anders Ingemann
9105f957ca Merge pull request #45 from myhro/ntp
New plugin: ntp
2014-03-29 15:51:54 +01:00
Tiago Ilieve
16f37ceca8 ntp: clones the server list from manifest 2014-03-29 11:45:08 -03:00
Tiago Ilieve
afffdf680d New plugin: ntp 2014-03-28 17:58:45 -03:00
Anders Ingemann
4ca99a8bb2 Merge pull request #42 from myhro/aptproxy
New plugin: apt_proxy
2014-03-28 09:00:52 +01:00
Anders Ingemann
5d6565e81a Merge pull request #44 from myhro/fix-gitignore
Add Jekyll-generated files to gitignore
2014-03-28 09:00:18 +01:00
Tiago Ilieve
e878ceadaf Add Jekyll-generated files to gitignore 2014-03-28 02:23:04 -03:00
Tiago Ilieve
88014671e8 New plugin: apt_proxy 2014-03-28 01:39:35 -03:00
Anders Ingemann
b7592288d9 Merge pull request #38 from donatello/master
Fix typo in file name
2014-03-26 22:09:06 +01:00
Anders Ingemann
b4fc20044c Merge pull request #37 from myhro/fix-guestadditions
Stop VBoxService after guest additions installation
2014-03-26 22:06:35 +01:00
Aditya Manthramurthy
861b8c8b95 Fix typo in file name 2014-03-26 16:26:59 +05:30
Tiago Ilieve
b09b1239f1 Avoid hard-coded command paths 2014-03-26 07:19:09 -03:00
Tiago Ilieve
5a9e76c89d Stop VBoxService after guest additions install 2014-03-25 23:47:04 -03:00
Anders Ingemann
3da49d4000 Merge pull request #36 from osallou/opennebula
use opennebula packages
2014-03-25 18:07:03 +01:00
Olivier Sallou
c53e7bd467 pull latest updates and fix merge for opennebula modifications 2014-03-25 14:38:08 +01:00
Olivier Sallou
167418991a use opennebula package in Jessie or backports instead of local assets 2014-03-25 14:32:49 +01:00
Anders Ingemann
d7d6b82ce6 Merge pull request #34 from myhro/fix-zerofree
zerofree is used against partitions, not devices
2014-03-24 18:01:59 +01:00
Tiago Ilieve
e05072c43b zerofree is used against partitions, not devices 2014-03-24 09:44:57 -03:00
Anders Ingemann
da4b85c0c7 Everything in base/ is now commented. 2014-03-23 16:04:03 +01:00
Anders Ingemann
ca13d66b16 losetup dependency was suggesting wrong package 2014-03-22 15:13:43 +01:00
Anders Ingemann
a06b4463d3 Fix links in README 2014-03-22 15:13:22 +01:00
Anders Ingemann
811320f664 Fix syntax errors in pkg-kernels json
Fixes #28
2014-03-07 08:11:29 +01:00
Anders Ingemann
b692532d90 Split up CheckPaths task in puppet plugin 2014-03-06 20:41:11 +01:00
Anders Ingemann
c4794ce9f3 Remove error when adding existing package with same target 2014-03-06 20:37:07 +01:00
Anders Ingemann
cdd372ca3b Zerofree can be installed as a Debian package
Show alternate message when package string for host_dependencies starts with http:// or https://
2014-02-27 23:03:24 +01:00
Anders Ingemann
210d3261c0 Check if current user is root. Fixes #20 2014-02-27 23:03:23 +01:00
Anders Ingemann
851389da09 Rely on $PATH to resolve commands. Fixes #12 2014-02-27 23:03:23 +01:00
Anders Ingemann
0ef1d3ab69 Split up RequiredCommands task.
The requirements are now located in the appropriate modules
2014-02-27 23:03:23 +01:00
Anders Ingemann
5cff8f9b1d Use `type' to check if command available. Fixes #11 2014-02-27 23:03:23 +01:00
Anders Ingemann
739e22e929 Translate release names into codenames. Fixes #15 2014-02-27 23:03:23 +01:00
Anders Ingemann
7a4721bd70 Make 'packages' optional 2014-02-27 23:03:23 +01:00
Anders Ingemann
6c18bca05a Move virtio module list into "system". Fixes #5 2014-02-27 23:02:58 +01:00
Anders Ingemann
ff968c3869 PEP8 compliance 2014-02-27 23:02:58 +01:00
Anders Ingemann
46dbe9e8c6 Move AKI info into JSON file. Fixes #13
Also introduced config_get() to retrieve a specific value from
these JSON files. Comments are now supported in those files as well
2014-02-27 23:02:58 +01:00
Anders Ingemann
ed4fa5e833 Use --arch in euca-bundle-image. Fixes #23 2014-02-27 23:02:58 +01:00
Anders Ingemann
6e145f6aca Introduce format_command. Fixes #7 2014-02-27 23:02:58 +01:00