Commit graph

15 commits

Author SHA1 Message Date
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
Anders Ingemann
cf6234bafd Split grub config into small tasks
The way boot options for linux and config params for grub
were configured gave rise to quite a few bugs.
The configuration has now been abstracted so that
options can be added without interfering with the work
of other tasks (no more sed_i!)
2016-06-04 18:48:54 +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
Stephen A. Zarkos
52ed8c247f Simplify Azure udev patch. 2015-08-25 00:15:01 +00:00
Stephen A. Zarkos
3f743d01b1 Small fixes for Azure images
- Add apt import for backports
 - Comment GRUB_HIDDEN_TIMEOUT so we can set GRUB_TIMEOUT.
2015-08-06 00:21:23 +00:00
Stephen A. Zarkos
7cb4453fe4 Make sure we can override grub.ConfigureGrub for Azure images. 2015-08-05 22:16:24 +00:00
Stephen A. Zarkos
8e06ef2294 Add boot parameters to Azure config to ease local debugging
- Add console=tty0 to see kernel/boot messsages on local console
 - Set serial port speed to 115200
2015-08-05 22:11:47 +00:00
Stephen A. Zarkos
6b2a5cb4a5 Fix error with applying azure/assets/udev.diff
When creating an image for Azure we see the following error when applying udev.diff:

   TypeError: cannot concatenate 'str' and 'file' objects

Resolving this in log_call() I still see the following error:

   patch: **** Only garbage was found in the patch input.

So fixing this in providers/azure/tasks/boot.py seems to be the best route.
2015-08-05 22:10:50 +00:00
Anders Ingemann
d1b63938e9 Move the udev patch task to boot
Inconsequential commit, but I think it makes more sense, since the task affects what happens when booting
2015-06-29 18:00:21 +02:00
Anders Ingemann
5823c9119b Split grub and extlinux installs into separate modules 2015-04-16 22:21:12 +02:00
Anders Ingemann
e4a9cc837a Differentiate installation of grub 1.99 and grub 2 2014-07-09 23:17:05 +02:00
Anders Ingemann
9e20731c84 Cosmetic changes in azure provider 2014-04-08 23:29:45 +02:00
Olivier Sallou
fb5d630c9b add azure provider 2014-04-08 08:53:26 +02:00