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
0212db733d
Updates to Azure image creation.
...
- Wheezy images use wheezy-backports kernel by default
- Change Wheezy image to use single partition
- Update WALinuxAgent to use 2.0.14
2015-08-05 22:20:14 +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
b5a0c7df21
Change default shell in /etc/default/useradd for Azure images.
2015-08-05 22:12:00 +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
James Bromberger
58fdab7be2
PVGUB AKIs for Frankfurt region.
2015-07-30 10:07:24 +02:00
James Bromberger
f1010b11ae
Support multiple ENI.
2015-07-30 10:05:44 +02:00
Anders Ingemann
9a58277619
Factor DHCPCD installation out into separate task
2015-07-30 09:40:37 +02:00
Anders Ingemann
a5e2a34ecc
Merge pull request #238 from alexadriaanse/jessie-btrfs-support-plus-dkms-version-fix
...
Fix DKMS version error; add Jessie & Btrfs support
2015-07-30 08:58:39 +02:00
Tiago Ilieve
b63d87c290
Fix link to manifest in VirtualBox provider's docs
2015-07-23 09:00:56 -03:00
Alex Adriaanse
76c940db37
Fix DKMS kernel version error
...
This error is triggered when the kernel version installed into the image is
different from the kernel version that's currently running.
2015-06-29 23:50:56 +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
ecf549b65d
Replace subprocess.call with log_check_call
2015-06-29 17:55:00 +02:00
Thomas Conte
774e78a9f2
Patch udev init script to fix ROOTDELAY boot issue
2015-06-29 05:05:30 -07:00
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
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
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
e409115b25
Docs: fix wrongfully escaped terms
2015-04-28 01:21:07 -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
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
d9adb293eb
Simplify enhanced networking check
2015-04-16 22:22:48 +02:00
Anders Ingemann
d81ac0972f
Simpler checks for manifest support
2015-04-16 22:22:48 +02:00
Anders Ingemann
bfe58dd4a8
Implement PR #201 by @jszwedko
2015-04-16 22:22:48 +02:00
Anders Ingemann
97ad69df5e
extlinux now works with gpt on hvm instances
2015-04-16 22:22:47 +02:00
Anders Ingemann
736852a959
Enable grub for hvm AMIs
2015-04-16 22:22:47 +02:00
Anders Ingemann
8364f824b0
Fix typo
2015-04-16 22:22:47 +02:00
Anders Ingemann
7f84e405f0
Cast to int before comparing in ec2 validate_manifest()
2015-04-16 22:21:42 +02:00
Anders Ingemann
a476248ed6
Partition volumes by sectors instead of bytes
...
This allows for finer grained control over the partition sizes and gaps
2015-04-16 22:21:13 +02:00
Anders Ingemann
5823c9119b
Split grub and extlinux installs into separate modules
2015-04-16 22:21:12 +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
Anders Ingemann
c2b37c7329
Merge pull request #192 from wrigri/disk-resize
...
Disable resize on disks larger than 2TB
2015-01-31 18:26:15 +00:00
Rick Wright
0d494fb49e
Disable resize on disks larger than 2TB
...
Change-Id: I9764fe2a06cf47e8c0daf38df41c288c280bd6f7
2015-01-29 16:22:30 -08:00
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
Noah Fontes
4093693c2e
Add support for enhanced networking on EC2.
...
This change adds a provider option, enhanced_networking,
which installs the Intel virtual networking driver for
SR-IOV using DKMS. It also modifies the EC2 AMI registration
to include support for SR-IOV.
2014-11-29 13:46:57 -08:00
Tim Smith
7944db886f
Enable auto-rootdisk growth on gce-backports.
...
This commit adds the cloud-initramfs-growroot package to the
installation list for GCE images with backports enabled, and updates
the gce tasklist to add the /etc/init.d/expand-root script
(with provider-appropriate touch-ups) to the image.
2014-10-13 10:02:15 -07:00
Rick Wright
96a1683c26
Fix task ordering to better support customizations
...
This ensures that preferences are written before apt update and also ensures
that in GCE the backports are added to the sources before the provider-specific
SetPackageRepositories happens.
Change-Id: I3c85f922c49c2a6fbd3c0f2bad1072eff0d098c8
2014-09-08 11:45:55 -07: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
Jimmy Kaplowitz
89e1a701eb
Disable SSH password auth on GCE
...
This change was unintentional but occurred as part of GCE's transition
from build-debian-cloud to bootstrap-vz.
Might be replaced later with a similar change that applies to all
bootstrap-vz providers, based on the opinion of the debian-cloud list.
Change-Id: I72a694c49f32df06252d9cc01b1d5c7cfc015347
2014-08-14 18:10:54 -07:00