Anders Ingemann
d222b267ce
Also disable autostart for daemons started through upstart
2016-06-07 22:02:40 +02:00
Anders Ingemann
feea266210
docker: Add some more labeling to the example manifest
...
Also remove netbase as an explicit install.
It's only there because of the ping pkg
2016-06-07 22:02:39 +02:00
Anders Ingemann
73c2305a4c
Add log message about tasklist generation
...
Generating the tasklist takes >1s, so it's nice to
know what bootstrap-vz is actually doing.
2016-06-07 19:05:31 +02:00
Anders Ingemann
8b4b2701fb
docker: Let the autostart of daemons by apt remain disabled
2016-06-05 19:06:16 +02:00
Anders Ingemann
07bc3ddd8d
docker: Add packages that are available in the official image (to the manifest)
2016-06-05 18:52:37 +02:00
Anders Ingemann
49ddd3879f
docker: Fix dockerfile creation
2016-06-05 17:19:27 +02:00
Anders Ingemann
0d54ad68ec
prebootstrapped: Take minimize_size plugin into account
...
The dpkg tasks modify the volume before debootstrap,
so when re-creating a snapshot we need to remove them as well.
2016-06-05 13:35:01 +02:00
Anders Ingemann
df7df19fb9
prebootstrapped: Support folder backing (for docker)
2016-06-05 13:30:48 +02:00
Anders Ingemann
2ffc4dd6c3
grub: Prettier type checking when writing grub defaults
2016-06-05 13:20:34 +02:00
Anders Ingemann
e030b9f84f
Fix bug with task list generation
...
Only tasks from the loaded provider and plugins were
considered, when creating the task graph.
This was a problem with the prebootstrapped plugin
specifically, which could be used with both ec2 and
vbox.
Fixed the problem by loading all known plugins and
providers and adding them to the taskgraph, nothing
less will do.
2016-06-05 11:41:18 +02:00
Anders Ingemann
4031fd6f84
ec2: Update official jessie 64-bit hvm manifest
...
Snatched from PR #256 by @JamesBromberger
2016-06-05 10:45:19 +02:00
Anders Ingemann
bb41ba68dd
Tiny fix for CheckExternalCommands
2016-06-05 10:45:19 +02:00
Anders Ingemann
ad75b78ce3
Update CHANGELOG
2016-06-05 10:45:19 +02:00
Justin Santa Barbara
0a8ececb20
Source ixgbevf driver from intel, not sourceforge
...
Sourceforge is often down at the moment, causing bootstrap-vz to fail.
Fix #287
2016-06-05 10:45:19 +02:00
Anders Ingemann
98de220f78
ec2: Add tasks for EC2 tuning
...
Snatched from PR #256 by @JamesBromberger
2016-06-05 10:45:19 +02:00
Anders Ingemann
c14687a171
cloud-init: Add option to enable modules
...
Snatched from PR #256 by @JamesBromberger
2016-06-04 22:04:42 +02:00
Anders Ingemann
8eb51524f3
vbox: Add tty0 as grub console output
...
Fixes #312
2016-06-04 19:54:39 +02:00
Anders Ingemann
cd969b5427
ec2: Fix for 9d2ad17
, use tasks.grub not grub
2016-06-04 19:32:03 +02:00
Anders Ingemann
a5f5b9ef3a
ec2: Fix PVM grub console output
2016-06-04 19:26:31 +02:00
Anders Ingemann
97deaa3a17
Add lo to jessie network config
2016-06-04 19:23:59 +02:00
Anders Ingemann
45fb28082a
ec2: Add hvc0 as grub console output device
2016-06-04 19:23:35 +02:00
Anders Ingemann
9d2ad17d09
ec2: Enable systemd on >=jessie
2016-06-04 19:20:31 +02: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
da50ed7978
ec2: Silence boto before determining the AMI name
2016-06-04 18:48:54 +02:00
Anders Ingemann
306c87d535
ec2: provider.description is required
2016-06-04 18:48:53 +02:00
Anders Ingemann
4cbeed5263
Add manifest, kernel and NIC config for stretch
2016-06-04 18:19:49 +02:00
Anders Ingemann
0614952014
Disable predictable NIC names for >=stretch
...
This is just a compabibility hack for now, we should figure
out how to get this working properly.
Issue: #245
Thanks to @apolloclark for this one.
2016-06-04 16:56:11 +02:00
Anders Ingemann
46d4424c65
Fix grub task order
2016-06-04 16:49:14 +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
Anders Ingemann
fd214915e3
Merge remote-tracking branch 'thepwagner/ec2_publish-plugin'
2016-06-04 09:44:27 +02:00
Anders Ingemann
4cff2f3e70
Merge pull request #326 from zmarano/master
...
Overhaul GCE image build.
2016-06-04 09:39:52 +02:00
Anders Ingemann
cec7423aa8
Merge pull request #325 from thepwagner/update-ec2-regions
...
ec2: sync regions in schema
2016-06-04 09:36:38 +02:00
Zach Marano
40ec27ad16
Overhaul GCE image build.
2016-06-02 18:16:57 -07:00
Peter Wagner
d240d13084
ec2_publish plugin
...
Fixes #271 , #91
2016-06-02 16:16:00 -07:00
Peter Wagner
bc895292cd
file_copy: Fix documentation typo
...
Slipping into open PR as both should be trivial.
2016-06-02 16:12:57 -07:00
Peter Wagner
4ec9200b17
Update regions in schema
2016-06-02 11:14:57 -07:00
Anders Ingemann
3c1999f809
Merge pull request #316 from justinsb/fix/gce_upload
...
Fixes for uploading a GCE image
2016-05-23 21:57:47 +02:00
Anders Ingemann
2291361a1c
Fix code block example in commands plugin documentation
2016-05-22 09:14:31 +02:00
Anders Ingemann
a6acc82465
Implement PR #286 by @booi
2016-05-22 09:00:24 +02:00
Anders Ingemann
16a680bb6b
Fix order for AddManifestPackages
...
This ensures that the task also works with manually
added sources.
2016-05-22 08:59:46 +02:00
Anders Ingemann
65ad0a43fa
Merge pull request #315 from thepwagner/cloud-init-groups
...
cloud-init: modify groups
2016-05-22 08:55:18 +02:00
Tiago Ilieve
d0ae5f138d
Merge pull request #321 from andrewbogott/defaulttys0
...
Set a default of GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
2016-05-10 13:08:40 -03:00
andrewbogott
b9aad2d881
Set a default of GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
...
This needed changing to hvc0 for ec2, and was accidentally changed
for all other providers. Since the ec2 provider overrides to hvc0
anyway, we can just change this default to the setting that works
for everyone else.
Fixes : #318
2016-05-10 01:56:27 -05:00
Tiago Ilieve
bc1d5464f4
Add jessie-virtio.yml
KVM example manifest
2016-05-09 22:07:32 -03:00
Justin Santa Barbara
3036eb41c1
GCE: Name the image as specified in the manifest
...
We were hard coding an image name format for GCE, but that doesn't match
what other providers (e.g. AWS) do.
Given that image upload did not work at all previously, no reason to
preserve the existing unusual behaviour.
2016-04-19 11:35:11 -04:00
Justin Santa Barbara
be595efd99
GCE: Rename image in tar file to disk.raw
...
To register with GCE, the image must be named disk.raw, or else the
gcloud create images command fails.
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
4b34cb2615
GCE: Documentation improvements
...
Small tweaks
* Add note that gce_project only works with gcs_destination
* Google's storage is called "Google Cloud Storage"
* Minor grammar tweaks
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
34ee0c1e8d
GCE: Allow templating of image description
...
Expand the description template before passing it to gcloud
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
3e3d59ddf1
GCE: Fix upload of image to gcloud
...
Two small fixes
* syntax is `gcloud compute images`, not `gcloud compute image`
* --source-uri=<uri> should be a single argument
2016-04-19 11:34:46 -04:00