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
433cbf2ae4
Only sed in growpart workaround when release is >= jessie
...
This script is only needed/created on jessie or later distros.
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-13 18:50:41 +00: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
2ece5a66e1
sed in root_device_path into expand-root
...
To make it more flexible
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 18:46:26 +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
Jesse Szwedko
4429c226a8
Use hash
instead of which
in expand-root
...
Also remove the variable since we established that it is already in the
$PATH
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 18:46:26 +00:00
Jesse Szwedko
78b796be5b
Exit 1 in expand-root if there was an error
...
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
072969065c
Implement docker integration test provider and docker tests
...
Also make build_server.remote_command() public. It's quite useful.
2015-12-13 23:12:00 +01:00
Anders Ingemann
7502b2a756
Bump version number
...
This should've been done when the version was tagged. Sorry.
2015-12-13 20:26:43 +01:00
Anders Ingemann
02860de849
Fixed the error that's been swallowing exception messages
...
Finally!
Becuase "TypeError: __init__() takes at least 3 arguments (2 given)"
is not very useful...
2015-12-13 20:26:43 +01:00
Anders Ingemann
bd7675bedf
Introduce run_settings in build_servers.yml
...
Will be used when starting instances during integration testing.
2015-12-13 19:42:15 +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
7393d7cfb5
Only allow the minbase variant
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
2923f25767
Place debootstrap excludes file in workspace instead of tmp
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
31f7c70237
Update GenerateLocale task description
2015-12-13 19:41:17 +01:00
Anders Ingemann
766e60b0de
Document all the new minimize_size options
2015-12-13 19:41:17 +01:00
Anders Ingemann
83f6fae139
Fix task description for apt autoremove
2015-12-13 19:41:17 +01:00
Anders Ingemann
3e6d131730
Allow keeping no locales at all when using dpkg.locales
2015-12-13 19:41:17 +01:00
Anders Ingemann
b95e71c4c8
Move dpkg specific settings to dpkg subsection
2015-12-13 19:41:17 +01:00
Anders Ingemann
50b02777e5
Add some comments about the filtering procedure
2015-12-13 19:41:17 +01:00
Anders Ingemann
5883673380
umount /sys & /proc when debootstrap is aborted
2015-12-13 19:41:17 +01:00
Anders Ingemann
1df2588b23
Add option to exclude /usr/share/doc
...
The bootstrap exclude script has also been generalize in the process
2015-12-13 19:41:17 +01:00
Anders Ingemann
620a592f11
Split minimize_size tasks into smaller parts
2015-12-13 19:41:16 +01:00
Anders Ingemann
6ae859f886
Implement locale filter in minimize_size plugin
...
This filter is rather aggressive, since it also hooks into the
bootstrapping process itself to prevent debootstrap from unpacking
specific locale files
2015-12-13 19:41:16 +01:00
Anders Ingemann
42d12d440d
Add bootstrap_script property to BootstrapInfo
...
This allows plugins to manipulate the debootstrap process
2015-12-13 19:41:16 +01:00
Anders Ingemann
55b2d2228f
info.tarball is never used across tasks, make it local
2015-12-13 19:41:16 +01:00
Anders Ingemann
764f8f759d
Implement some apt minimization stuff from docker
...
See here for more: 1d775a54cc/contrib/mkimage/debootstrap
2015-12-13 19:41:16 +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