Commit graph

503 commits

Author SHA1 Message Date
Thomas Conte
b7243449f5 - Use manifest.provider instead of manifest.system
- Add 'parted' package required for recent versions of Azure agent
2015-06-23 02:04:26 -07:00
Rick Wright
ef429f5e79 Install GCE packages before Manifest packages. 2015-06-22 14:28:22 -07:00
Zach Marano
7484236282 Change the order we clean up the apt state- thereby leaving a current as
of the image build set of apt list files on the resulting image.
2015-06-17 18:12:07 -07:00
Jonh Wendell
cd04b3a645 EC2: Only install dhcpcd on releases before jessie
Otherwise, keep Debian's default isc-dhcp-client, it works fine
on EC2.
2015-06-17 09:49:58 -03:00
Jonh Wendell
e390d91c05 Ec2: Add the variable "install_init_scripts"
To control whether ec2 init scripts should be installed
on the image. Defaults to true, to keep current behaviour.
2015-06-14 17:32:50 -03:00
Anders Ingemann
0e992e23a1 Merge pull request #224 from jwendell/ixgbevf
EC2: Use latest ixgbevf driver
2015-06-10 21:54:15 +02:00
Jonh Wendell
ea1c4037ae apt_proxy: Also consider http error code 406
It seems some Debian versions of apt-cacher-ng return error
code 406 instead of 404:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762969

This is my case in Jessie, for example.

This patch considers both codes as "valid".
2015-06-10 14:44:05 -03:00
Jonh Wendell
5f9bef37ed EC2: Use latest ixgbevf driver 2015-06-10 14:41:02 -03:00
Jonh Wendell
62c3577c59 Use SSD volumes instead of magnetic
They are faster and the default when using AWS EC2 console.
2015-06-04 13:23:21 -03:00
Zach Marano
d3a1d22290 Add support for Debian 8 in GCE.
Add support for GPT disks.
Change the default block scheduler to noop for improved performance.
2015-05-19 13:19:12 -07:00
Tiago Ilieve
71d628544c 'Disabling' for 'Enabling' in EnableRootLogin 2015-05-12 08:17:43 -03:00
Alexandre Derumier
02c333c8c8 fix ^PermitRootLogin regex
fix issue https://github.com/andsens/bootstrap-vz/issues/218
2015-05-08 09:11:14 +02:00
Anders Ingemann
e556366c19 Fix #98. External plugin architecture implemented 2015-05-03 13:07:26 +02:00
Anders Ingemann
989f33c226 Kill the initalize() function. Nobody uses it except ec2
The boto debug messages are now silenced with a task.
2015-05-03 12:31:44 +02:00
Anders Ingemann
2ef9382a55 Check whether all tasks found include the ones we resolved 2015-05-03 08:04:20 +02:00
Anders Ingemann
c8470790b8 Remove predecessor req. for ApplyPuppetManifest 2015-05-03 07:43:52 +02:00
Anders Ingemann
4df22e79f1 Move AddNtpPackage task into the preparation phase 2015-05-03 07:43:27 +02:00
Anders Ingemann
f88a1b0af5 Merge branch 'development' 2015-05-02 22:33:04 +02:00
Tiago Ilieve
3cfba08983 Fix mentions to the commands plugin name 2015-05-02 13:12:33 -03:00
Anders Ingemann
a7f2327e42 Litter the manifest schemas with additionalProperties:false
This pretty much eliminates the possiblity of undiscovered typos in the manifest
2015-05-02 13:04:30 +02:00
Anders Ingemann
fa8da6171d Fix #99: Rename image_commands to commands 2015-05-02 12:36:14 +02:00
Anders Ingemann
a9b1624427 fixup! Fix #32: Extend image_commands docs 2015-05-02 12:33:11 +02:00
Anders Ingemann
2948badf47 Fix #204, user_modification phase has been introduced 2015-05-02 12:31:06 +02:00
Anders Ingemann
a23c9936b6 Fix #32: Extend image_commands docs 2015-05-02 12:30:58 +02:00
Anders Ingemann
e783927ea0 Fix #139. Adjust Debian OS type depending on architecture 2015-05-02 12:16:00 +02:00
Anders Ingemann
df224e61a4 Fix modification box.ovf in vagrant plugin 2015-05-02 12:15:21 +02:00
Anders Ingemann
1f6f23e680 Fix #104: Don't verify default target when adding packages 2015-04-29 23:51:55 +02:00
Anders Ingemann
f1ce582994 Compare with "unstable" instead of "sid" 2015-04-29 23:31:09 +02:00
Anders Ingemann
71c7d445ad Fix #217, by introducing class for comparison of releases 2015-04-29 21:38:06 +02:00
Anders Ingemann
2d3a0a0ce3 The change in d9e9014 failed when SSH was not installed 2015-04-29 21:36:22 +02:00
Anders Ingemann
c8ddd7de45 Flip compairson for whether sector size is equal in Sectors 2015-04-29 20:46:53 +02:00
Anders Ingemann
af1fab40e0 Only disable root login on squeeze & wheezy (jessie has it disabled per default) 2015-04-29 08:40:48 +02:00
Jonh Wendell
d9e9014a8f root_password: Enable SSH root login
Jessie comes with root login disabled for passwords, however,
if the user is using this plugin, chances are high that they
need to login via SSH as root.
2015-04-28 18:51:39 -03:00
Tiago Ilieve
b3cda5e859 Docs: fix apt_proxy plugin's README
`address` and `port` description were being rendered as bold because of
an extra space indenting its `required` note.

Also escaped `true`/`false` terms for the `persistent` option.
2015-04-28 01:32:51 -03:00
Tiago Ilieve
e409115b25 Docs: fix wrongfully escaped terms 2015-04-28 01:21:07 -03:00
John Kristensen
4120260a99 Add authentication support to the apt proxy plugin
Add username and password settings to the APT Proxy plugin so that
users who are behind an authenticating proxy can still use bootstrap-vz
without having to jump through hoops. If either the username or password
are not set, then no authentication is used.
2015-04-27 13:21:43 +10:00
Tiago Ilieve
a28b8cee8b Add codename of the next testing release
The Debian 9, following 8 "Jessie", will be named "Stretch":

https://wiki.debian.org/DebianStretch
https://lists.debian.org/debian-devel-announce/2014/11/msg00005.html
2015-04-26 18:57:13 -03:00
Anders Ingemann
d1197ca82c Jessie was release, update codename mapping 2015-04-26 10:39:54 +02:00
Tiago Ilieve
3131558691 Fix msdos partition/filesystem types definition
This closes #142.
2015-04-25 21:07:48 -03:00
Tiago Ilieve
22760c76db Revert a2cf28b (#213)
Looks like we may or may not need to create those uuid links by
ourselves. This patch also adds a verification to not create/delete the
link if it already exists or not, respectively.
2015-04-25 19:24:55 -03:00
Tiago Ilieve
940a089933 Little indentation fix (spaces to tabs) 2015-04-25 16:37:27 -03:00
Jonas Bergler
8f03987593 Fix installation of vbox guest additions.
Credits for this idea go to @myhro who suggested emulating uname.

I cleaned his changes up somewhat and moved the script into a
separate file to make things easier to look at.

I did a test build of wheezy with my changes and the modules were
installed correctly.

root@localhost:/home/vagrant# dkms status
vboxguest, 4.3.20, 3.2.0-4-amd64, x86_64: installed

root@localhost:/home/vagrant# lsmod | egrep ^vbox
vboxsf                 33359  0
vboxvideo              12437  0
vboxguest             162115  1 vboxsf
2015-04-25 16:12:26 -03:00
Tiago Ilieve
cba0a99d0a Fix truncate arguments
`truncate` doesn't expect the parameter `create` that was used
previously by `qemu-img`. This made a sparse file named "create" to
appear at current working directory every time the command as executed.

This closes #212.
2015-04-23 23:19:16 -03:00
Anders Ingemann
4d561274e4 Make bootstrap-vz-remote actually work
Wow, that's quite an oversight...
2015-04-23 23:30:39 +02:00
Anders Ingemann
d496c028cd Document the remote bootstrapping procedure 2015-04-19 19:28:13 +02:00
Anders Ingemann
501e6ad97b This is cool. Relative links that link between folders/files in the github repo are converted to relative links in the documentation. 2015-04-19 13:05:58 +02:00
Anders Ingemann
e80ad46972 Repeat index/README pattern for plugins & providers 2015-04-16 23:52:07 +02:00
Anders Ingemann
a7d5c93fa1 Add README for remote bootstrapping 2015-04-16 23:32:19 +02:00
Anders Ingemann
03f8d231e2 Move developers intro into bootstrapvz/ as README 2015-04-16 23:27:09 +02:00
Anders Ingemann
a2cf28b054 Revert 03efa0f (#210)
It seems the bug was only present on my old dev bootstrapping machine

This reverts commit 03efa0ffdf1ee0d3cf81905e6e4d9f5f6aa62143.
2015-04-16 22:22:49 +02:00