Commit graph

51 commits

Author SHA1 Message Date
Kevin Olbrich
69865d9eb6 add latest debian releases 2023-06-21 10:04:07 +02:00
Kevin Olbrich
9695948e3d fix kernel options 2019-11-13 00:23:26 +01:00
Kevin Olbrich
9c01c1b13f optimize GRUB parameter list and disable L1TF, Meltdown, Spectre etc. patches
https://make-linux-fast-again.com/
2019-11-04 03:13:25 +01:00
Kevin Olbrich
b06d9ff28e use elevator noop for all images and reorder commands 2019-11-04 03:08:27 +01:00
Carlos Meza
4e1864aa2b fix pylint W0403(relative-import) paths 2018-02-25 08:37:17 +00:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Carlos Meza
a3584e6de9 remove squeeze support 2018-02-08 06:02:20 +00:00
Anders Ingemann
fe4782bbea
Merge pull request #439 from octivi/headers
Add comment-header to files deployed by bootstrap-vz
2018-01-20 18:27:38 +01:00
Marcin Engelmann
8e92cf7db9 Add comment-header to files deployed by bootstrap-vz (resolves #429) 2018-01-20 18:18:56 +01:00
Marcin Engelmann
ff014a431e Force order of tasks that add console=xxx to kernel command line 2018-01-20 15:45:34 +01:00
Anders Ingemann
bf7525426b
vbox: Make guest additions path relative to manifest 2017-07-14 18:27:16 +02:00
Anders Ingemann
a40c639c3c
Move some package adding tasks into the preparation phase 2017-04-15 10:01:27 +02:00
Nicolas Braud-Santoni
90da634226
Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
Nicolas Braud-Santoni
9bf2c45ee2
Moving checking tasks to the validation phase 2016-09-12 00:52:10 +02:00
Anders Ingemann
8eb51524f3 vbox: Add tty0 as grub console output
Fixes #312
2016-06-04 19:54:39 +02:00
Anders Ingemann
4cbeed5263 Add manifest, kernel and NIC config for stretch 2016-06-04 18:19:49 +02:00
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
2d6a026160 Fix a slew of indentation & spacing issues 2016-06-04 11:38:16 +02:00
hitsumabushi
ac7595bdfb fix document toctree 2016-03-15 11:13:05 +09:00
Anders Ingemann
6bb654b79f Compat with new sphinx
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Anders Ingemann
cba496d761 Improve providers docs and add loads of manifest examples 2015-12-13 19:41:18 +01:00
Anders Ingemann
3de0aceb65 Fix guest additions path check in vbox schema 2015-12-09 17:23:35 +01:00
Marcin Kulisz
11a839045d Vbox guest additions info added to the vbox provider readme 2015-11-09 21:53:48 +00:00
Tiago Ilieve
3d3c303ee1 Changes 'MoveImage' from loopback to image 2015-10-18 16:35:11 -02:00
Tiago Ilieve
b63d87c290 Fix link to manifest in VirtualBox provider's docs 2015-07-23 09:00:56 -03: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
1f6f23e680 Fix #104: Don't verify default target when adding packages 2015-04-29 23:51:55 +02:00
Anders Ingemann
71c7d445ad Fix #217, by introducing class for comparison of releases 2015-04-29 21:38:06 +02: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
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
65ddee99d7 Fix some links 2015-04-12 15:01:06 +02:00
Anders Ingemann
953987fddf Combine documentation from github wiki with sphinx
This is the first step in the effort of combining all documentation about
bootstrap-vz into sphinx while still being able to access it from github
(github can parse rst as well)
2015-04-11 16:40:44 +02:00
Tiago Ilieve
89a74a33c8 Fix linux-headers package version detection
The `uname -r` command returns the version of the running kernel running
on the host machine, as the chroot environment doesn't load a new one.
This prevents the proper version of the `linux-headers-*` package from
being added when the target has a different kernel version or
architecure.

This closes #121.
2014-09-02 19:53:10 -03:00
Anders Ingemann
9d8821235f Clone packages-kernels.yml pattern to other providers
GCE also gets its own file.
For now, this scales - but we might want to refactor when there is more that just the kernel package we need to choose from
2014-07-09 23:17:05 +02:00
Anders Ingemann
03a0746299 Convert every JSON file to YAML
Lines removed: over 500. Readiblity gained: A shitload
Now you can actually get an overview of a manifest on a single screen height.
I am sure that it will also save a lot of hassle when modifying schema in the future.
No more "expected property name" etc. because of an extraneous comma
Comments are of course natively support, so there's no need for this minify_json hokey pokey
2014-07-09 23:17:04 +02:00
Anders Ingemann
ebba39f59b Convert "provider" into provider specific section
This is where all provider specific settings belong
like waagent on azure, guest additions iso path on vbox and virtualization type on ec2
2014-07-09 23:17:04 +02:00
Anders Ingemann
4f45749e13 Check if qemu-img is available 2014-05-22 17:28:17 +02:00
Anders Ingemann
f3d633780f Use string concatenation instead of format()
String concatenation can at times be easier to read that format().
One should choose whichever approach is more readable.
2014-05-04 13:41:15 +02:00
Anders Ingemann
e68ed9b66c Fix import errors, again.
(A rebase swallowed a commit somewhere)
2014-05-03 17:04:37 +02:00
Anders Ingemann
7958950d19 Generalize "grub only on partitioned volumes" err
(move it into base manifest validation)
2014-05-03 16:13:49 +02:00
Anders Ingemann
0a2cd86b4b Add get_standard_rollback_tasks()
This simplifies the the providser rollback_tasks fn considerably
2014-05-03 16:13:49 +02:00
Anders Ingemann
26f0702ae1 Don't add initd installation task in vbox provider 2014-05-03 16:13:48 +02:00
Anders Ingemann
6d2a52f7a0 Create security group (part of standard group) 2014-05-03 16:13:46 +02:00
Anders Ingemann
c0292bf526 Remove unused imports 2014-05-03 16:13:09 +02:00
Anders Ingemann
d5efec8885 Add ssh_group, which configures SSH properly 2014-05-03 16:13:07 +02:00
Anders Ingemann
c81045cc6e Simplify adding tasks
There is now a get_standard_groups function
2014-05-03 16:12:35 +02:00
Tiago Ilieve
fe6a5047cd Rename task_sets to task_groups
This closes #17
2014-04-26 17:13:41 -03:00
Tiago Ilieve
18fce45d91 Move hostname setting from vagrant into common
This closes #19.
2014-04-13 21:18:02 -03:00
Anders Ingemann
bbb06d717e Properly fix imports and make bootstrapvz work like a package 2014-04-02 21:32:10 +02:00