Commit graph

253 commits

Author SHA1 Message Date
Tiago Ilieve
c7a7b523cf oracle: fix SSH tasks
Add common group "ssh_group" (which disables password authentication,
etc.) and disable root login.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
2219e23ae4 oracle: remove unused imports from 'tasks.network' 2016-02-06 19:13:55 -02:00
Tiago Ilieve
c22247be81 oracle: remove cloud-init customization
It is working now out-of-the-box with "Ec2" metadata source.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
7786b9362d Add Oracle provider (Work-In-Progress) 2016-02-06 19:13:55 -02:00
Jesse Szwedko
7f9ee9d22c Write Jessie growpart workaround script to something other than growpart
In case growpart is installed. Sed this workaround path into the init.d
script.

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:12:57 +00:00
Jesse Szwedko
bbcb62c4f3 Making growpart workaround description more verbose
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:09:09 +00:00
Jesse Szwedko
4e94880b2a Only add growpart workaround on >= Jessie
Works on previous distributions

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 18:46:26 +00:00
Jonh Wendell
c477c32e4a EC2: Added growpart script
This is an attempt to fix issue #237

The script "growpart" was added as an asset, because
Debian's Jessie version (inside cloud-utils) package is
outdated and buggy.

Then "expand-root" init script was modified to call growpart
before calling resize2fs. In fact, calling resize2fs without
resizing the partition first is useless.

The task was named 'AddWorkaroundGrowpart' because it must
go away in the future in favor of using recent stuff in cloud-utils.

Currently even the official images suffer this issue, that makes
the system use only 8 GiB, even if the user chooses a bigger
storage size inside AWS.
2016-01-12 18:46:20 +00:00
gkranis
56e98bd102 Remove stale requirement
omission from c880a6849a ?
2016-01-12 09:13:03 +02:00
Clark Laughlin
46594b1ef0 enable support for creating kvm images for jessie on arm64 2016-01-08 13:06:57 -06:00
Tim Sattarov
97378befce ignore loopback interface in udev rules 2015-12-16 23:44:35 -05:00
Zach Marano
977b1c23a3 Change location of GCE apt repo's (this is an interim change).
hange gcutil command to gcloud as gcutil is deprecated.
2015-12-15 11:20:49 -08:00
Anders Ingemann
51144f7456 Rename minimized-jessie.yml to jessie-minimized.yml 2015-12-13 23:32:26 +01:00
Anders Ingemann
7117a6ac61 Docker: It's called an image ID not container ID 2015-12-13 19:42:15 +01:00
Anders Ingemann
6cca4ae2e1 Allow manifest vars in docker image name 2015-12-13 19:42:15 +01:00
Anders Ingemann
d0bb9f75d3 The image name is now the repo + tag. Also:Improve labeling 2015-12-13 19:42:15 +01:00
Anders Ingemann
5dada603eb Add dockerfile to image, support labels, add documentation 2015-12-13 19:41:18 +01:00
Anders Ingemann
cba496d761 Improve providers docs and add loads of manifest examples 2015-12-13 19:41:18 +01:00
Anders Ingemann
c880a6849a Remove image section in manifest
All provider specific settings have been moved to the
provider section. The image name itself is now located
at the top level and called "name". It is required for all providers.
2015-12-13 19:41:18 +01:00
Anders Ingemann
52c05e5df6 Move docs about image description to gce & ec2 providers 2015-12-13 19:41:18 +01:00
Anders Ingemann
058d954120 Remove predecessor task (copypasta mistake) 2015-12-13 19:41:17 +01:00
Anders Ingemann
9d0356f4fa Disable locale generation when no locales selected 2015-12-13 19:41:17 +01:00
Anders Ingemann
4a509aba76 First stab at docker provider
Huh... That was easy.
2015-12-13 19:41:16 +01:00
Anders Ingemann
3de0aceb65 Fix guest additions path check in vbox schema 2015-12-09 17:23:35 +01:00
Anders Ingemann
57c2522c7b Remove unused README in kvm provider 2015-12-09 16:21:57 +01:00
Marcin Kulisz
11a839045d Vbox guest additions info added to the vbox provider readme 2015-11-09 21:53:48 +00:00
Tiago Ilieve
3d3c303ee1 Changes 'MoveImage' from loopback to image 2015-10-18 16:35:11 -02:00
Tiago Ilieve
10742f8ca3 gce: the right name isn't GCE or GSE, it's GCS[1]
[1]: https://cloud.google.com/storage/
2015-10-18 16:31:12 -02:00
Tiago Ilieve
0068cdc1a8 gce: fix small typo on UploadImage 2015-10-16 00:06:58 -03:00
Tiago Ilieve
4d553a0b49 Update Azure README
There isn't a requirement for RAW -> VHD conversion anymore. QEMU
supports VHD images from versions 1.1 and up[1], which are available on
`wheezy` (no need for `wheezy-backports`).

Also updates the information regarding `wget`.

[1]: http://wiki.qemu.org/ChangeLog/1.1#Block_devices
2015-10-15 09:50:46 -03:00
Anders Ingemann
f572703ecc Bootstrap azure images directly to VHD 2015-10-14 22:40:15 +02:00
Anders Ingemann
70be6b8198 Add docs for EC2 specific manifest settings 2015-10-14 22:40:14 +02:00
Rick Wright
1e2fe02847 Fix a problem with Debian 8 on GCE with >2TB disks
This change makes two fixes. First, it fixes a race condition on Debian
8 GCE instances which caused instances with >2TB disks to fail. Second,
it adds the required "PREREQ" header to the script, which was previously
missing and caused errors at build time. These two issues are somewhat
unrelated to each other, but debugging the first led to finding the
second.
2015-09-23 16:55:16 -07: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
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