Commit graph

1439 commits

Author SHA1 Message Date
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
Anders Ingemann
608de63d3e Better grub options
Inspired by 9c151c43b3ee85fe8cb7d4cdadb45115807c6710 by JamesBromberger/bootstrap-vz
2015-07-30 10:07:25 +02: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
Anders Ingemann
7f936e9ad8 Fix link transformation regexes for manifest docs
Forgot to add them when introducing the official manifests structure
2015-07-23 08:41:51 +02:00
Alex Adriaanse
4954f94790 Add EC2 Jessie HVM manifest 2015-06-30 01:39:11 +00:00
Alex Adriaanse
545a337a81 Add support for Btrfs 2015-06-30 01:37:09 +00: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
Anders Ingemann
de028c7971 Merge pull request #236 from tomconte/master
Patch udev init script to fix ROOTDELAY boot issue
2015-06-29 14:17:23 +02:00
Thomas Conte
774e78a9f2 Patch udev init script to fix ROOTDELAY boot issue 2015-06-29 05:05:30 -07:00
Tiago Ilieve
4f8ef570f7 Merge pull request #235 from tomconte/master
Azure Jessie example manifest
2015-06-26 11:57:34 -03:00
Thomas Conte
18a8cb3456 Use httpredir.debian.org 2015-06-26 07:49:15 -07:00
Thomas Conte
3907ad57a8 Azure Jessie example manifest 2015-06-26 06:56:07 -07:00
Anders Ingemann
16b67f604b Merge pull request #234 from zmarano/master
Fix expand-root script to work for Debian 8 and simplify how partition types are formulated.
2015-06-25 00:53:19 +02:00
Zach Marano
c682dab6ec Fix expand-root script to work for Debian 8 and simplify how partition
types are forumlated.
2015-06-24 12:41:06 -07:00
Anders Ingemann
fbcb53cd71 Merge pull request #233 from tomconte/master
Fix for issue #231 + added 'parted' package
2015-06-23 12:36:08 +02: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
Anders Ingemann
1ffbf1e18f Merge pull request #232 from wrigri/master
Install GCE packages before Manifest packages.
2015-06-22 23:35:17 +02:00
Rick Wright
ef429f5e79 Install GCE packages before Manifest packages. 2015-06-22 14:28:22 -07:00
Anders Ingemann
1f419d9a6a Add note about package installation order. 2015-06-19 22:41:55 +02:00
Anders Ingemann
9530f8987e Merge pull request #229 from zmarano/master
Change the order we clean up the apt state for GCE images.
2015-06-18 08:32:34 +02: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
Anders Ingemann
e0553ee80d Merge pull request #228 from jwendell/get-rid-of-dhcpcd
EC2: Only install dhcpcd on releases before jessie
2015-06-17 15:19:55 +02: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
Anders Ingemann
af1fd095e9 Merge pull request #227 from jwendell/install_init_scripts
Ec2: Add the variable "install_init_scripts"
2015-06-15 00:04:56 +02: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
Anders Ingemann
b8b94c1fc7 Add some docs for the official manifests 2015-06-13 20:25:45 +02:00
Anders Ingemann
d055d68fca GCE example manifests are actually official manifests 2015-06-13 19:59:38 +02:00
Anders Ingemann
24dddbb8d6 First stab at cleaning up the manifest dir 2015-06-13 19:59:38 +02:00
Anders Ingemann
0e992e23a1 Merge pull request #224 from jwendell/ixgbevf
EC2: Use latest ixgbevf driver
2015-06-10 21:54:15 +02:00
Anders Ingemann
0351e0e493 Merge pull request #225 from jwendell/apt-406
apt_proxy: Also consider http error code 406
2015-06-10 21:53:55 +02:00
Jonh Wendell
ea1c4037ae apt_proxy: Also consider http error code 406
It seems some Debian versions of apt-cacher-ng return error
code 406 instead of 404:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762969

This is my case in Jessie, for example.

This patch considers both codes as "valid".
2015-06-10 14:44:05 -03:00
Jonh Wendell
5f9bef37ed EC2: Use latest ixgbevf driver 2015-06-10 14:41:02 -03:00
Anders Ingemann
7c15a4255d Merge pull request #223 from jwendell/use-gp2
Use SSD volumes instead of magnetic
2015-06-04 18:49:45 +02: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
Anders Ingemann
66fa01526b Link to list of supported providers in intro 2015-05-24 14:25:19 +02:00
Tiago Ilieve
89af68d992 Merge pull request #220 from zmarano/master-dev
Add support for Debian 8 in GCE.
2015-05-20 15:50:43 -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
Tiago Ilieve
f3be3e4543 Update changelog 2015-05-12 08:18:38 -03:00
Tiago Ilieve
71d628544c 'Disabling' for 'Enabling' in EnableRootLogin 2015-05-12 08:17:43 -03:00
Tiago Ilieve
d8c771d971 Merge pull request #219 from odiso/fix-permitrootlogin
fix ^PermitRootLogin regex
2015-05-12 08:11:13 -03:00