bootstrap-vz/bootstrapvz/common
Brian Mattern 4bd71a2dbe Blacklist floppy module to speed up boot by several seconds.
Add UpdateInitramfs task which is needed for this to take effect.
Enable both tasks for GCE.

Console output before
=====================
[    1.877142] sd 0:0:1:0: [sda] Attached SCSI disk
[    1.880163] sd 0:0:1:0: Attached scsi generic sg0 type 0
[    2.684132] tsc: Refined TSC clocksource calibration: 2500.000 MHz
[    4.824081] floppy0: no floppy controllers found
[    5.103671] work still pending
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    5.313107] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
...
[    7.751955] alg: No test for crc32 (crc32-pclmul)
[   10.728078] floppy0: no floppy controllers found
[   11.006680] work still pending
[....] Activating swap... done
[   11.258954] EXT4-fs (sda1): re-mounted. Opts: (null)

Console output after
====================
[    1.829785] sd 0:0:1:0: [sda] Attached SCSI disk
[    1.832806] sd 0:0:1:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    1.969862] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
...
[    2.878920] alg: No test for crc32 (crc32-pclmul)
[....] Activating swap... done
[    2.986642] EXT4-fs (sda1): re-mounted. Opts: (null)

Delint.

Delint
2015-01-24 13:17:42 -08:00
..
assets/init.d Move code into proper package folder 2014-04-02 21:26:13 +02:00
fs Add a word, to make error message about nbd more understable 2014-07-16 22:08:14 +02:00
tasks Blacklist floppy module to speed up boot by several seconds. 2015-01-24 13:17:42 -08:00
__init__.py PEP8 fixes 2014-04-27 11:05:53 -03:00
bytes.py Use string concatenation instead of format() 2014-05-04 13:41:15 +02:00
exceptions.py Convert every JSON file to YAML 2014-07-09 23:17:04 +02:00
fsm_proxy.py Move code into proper package folder 2014-04-02 21:26:13 +02:00
minify_json.py Move code into proper package folder 2014-04-02 21:26:13 +02:00
phases.py Properly fix imports and make bootstrapvz work like a package 2014-04-02 21:32:10 +02:00
release-codenames.yml Factor release codename fetching out into common.tools 2014-07-09 23:17:05 +02:00
task_groups.py Differentiate installation of grub 1.99 and grub 2 2014-07-09 23:17:05 +02:00
tools.py Rename variable in load_yaml to match load_json 2014-07-16 22:08:13 +02:00