Commit graph

1307 commits

Author SHA1 Message Date
Tiago Ilieve
12dbc6a07e oracle: add tasks to upload and verify images 2016-02-19 21:16:15 -02:00
Tiago Ilieve
94559e1d8e oracle: add 'OracleStorageAPIClient'
This client will be used to upload images to Oracle Compute Cloud,
through the Oracle Storage Cloud API.
2016-02-19 21:16:15 -02:00
Tiago Ilieve
fffe69b855 oracle: add 'Compute' to 'Oracle Cloud' 2016-02-19 21:16:15 -02:00
Anders Ingemann
3d2088ad2a Fixes #285 admin_user, the sshdir check didn't check in the chroot 2016-02-18 18:23:48 +01:00
Anders Ingemann
73acb1f0d3 Fix breakage of admin_user module
Fixes #284
classnames were changed without testing
2016-02-16 20:43:53 +01:00
Anders Ingemann
b681ae8c0e Merge pull request #281 from srivasta/master
[set localtime]: Set /etc/localtime by either copying or symlinking
2016-02-12 08:25:59 +01:00
Manoj Srivastava
4fc3b69d81
[set localtime]: Update locale group tasks
Convert the locale group tasks frmom a simple list to a function. This
now matches the other non-simple task groups.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2016-02-11 16:00:26 -08:00
Tiago Ilieve
518efec1aa Update changelog 2016-02-10 23:32:59 -02:00
Manoj Srivastava
b20ce793a4
[set localtime]: Set /etc/localtime by either copying or symlinking
Starting in version 2016a-1 (circa Jan 2016) the package tzdata
changed /etc/timezone into a symlink. This change is in unstable,
testing, and will be in the next release (stretch). This commit checks
the release, and creates a task to either copy the contents of the
zoneinfo file (jessie and older) or create a symbolic link (newer than
jessie).

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2016-02-10 13:47:12 -08:00
Anders Ingemann
4a647b79d8 Credited some folks in the changelog
Big thanks of course also to all that send in the minor contributions!
2016-02-10 22:22:35 +01:00
Anders Ingemann
ddfd8a2fd3 admin_user: Allow pubkey & password to be used together
Also change README a little, add some comments and get the code
a little more in line with the style of bootstrap-vz
2016-02-10 22:12:02 +01:00
Anders Ingemann
a6e4b40268 Merge pull request #252 from srivasta/master
[admin_user]: Added support for password and static pubkey auth
2016-02-10 21:24:11 +01:00
Tiago Ilieve
b6bdc873f7 Add links to GitHub profiles on Supported Builds 2016-02-09 17:37:30 -02:00
Manoj Srivastava
4a29e5eec5
Bit by os.path.join not liking leading /
join ignores all path components to the left of any component that
starts with a /. Tested and found working.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2016-02-08 02:50:55 -08:00
Tiago Ilieve
790f2d66bb Update supported builds
- Remove mentions to squeeze, as it isn't supported since yesterday[1]
- Add 'known working builds' section

This closes #266.

[1]: https://www.debian.org/releases/squeeze/
2016-02-07 18:00:58 -02:00
Tiago Ilieve
26d09d3776 Oracle Compute Cloud Service images are official
- Update main README
- Move manifest to the appropriate folder
2016-02-06 19:52:46 -02:00
Tiago Ilieve
6f6e65d28b oracle: update README
- Convert from markdown to rst
- Remove step-by-step build tutorial, which was moved to the Debian Wiki
2016-02-06 19:47:13 -02:00
Tiago Ilieve
992100d00a oracle: remove custom gzipped kernel
Since Xen HVM is supported on Oracle Cloud, the default kernels
compressed with XZ can be booted with no problem.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
925986e4c6 oracle: remove unused import 2016-02-06 19:13:55 -02:00
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
Manoj Srivastava
32ef6fc571
[admin_user]: More cleanups. Remove uneeded tests.
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2016-02-06 02:15:52 -08:00
Manoj Srivastava
efeddc43a8
[admin_user]: Update per comments
As requested, this commit converts to tab indentation.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
2016-02-06 01:18:00 -08:00
Manoj Srivastava
a56f20657b
[admin_user]: Added support for password and static pubkey auth
This commit adds authentication optionally with passwords or static
ssh pubkeys for the admin user.

There are now three ways to grant access to the admin user:
-  Set a password for the user, or
-  Provide a ssh public key to allow remote ssh login, or
-  Use the EC2 public key (EC2 machines only)

If a password is provided, this plugin sets the admin password. This
also re-enables password login (off by default in Jessie).

If the optional argument pubkey is present (it should be a full path
to a ssh public key), it will ensure that the ssh public key is used
to set up password less remote login for the admin user.

Only one of these options (password, or pubkey) may be specified.

If neither the password not a ssh public key location are specified,
and if the EC2 init scripts are installed, the script for fetching the
SSH authorized keys will be adjust to match the username specified.

Fixes: https://github.com/andsens/bootstrap-vz/issues/248

Signed-off-by: Manoj Srivastava <srivasta@google.com>
2016-02-06 00:39:20 -08:00
Manoj Srivastava
67284eaae5
[admin_user]: Added support for password and static pubkey auth
This commit adds authentication optionally with passwords or static
ssh pubkeys for the admin user.

There are now three ways to grant access to the admin user:
-  Set a password for the user, or
-  Provide a ssh public key to allow remote ssh login, or
-  Use the EC2 public key (EC2 machines only)

If a password is provided, this plugin sets the admin password. This
also re-enables password login (off by default in Jessie).

If the optional argument pubkey is present (it should be a full path
to a ssh public key), it will ensure that the ssh public key is used
to set up password less remote login for the admin user.

Only one of these options (password, or pubkey) may be specified.

If neither the password not a ssh public key location are specified,
and if the EC2 init scripts are installed, the script for fetching the
SSH authorized keys will be adjust to match the username specified.

Fixes: https://github.com/andsens/bootstrap-vz/issues/248

Signed-off-by: Manoj Srivastava <srivasta@google.com>
2016-02-06 00:39:20 -08:00
Anders Ingemann
5189c03e8a Remove a duplicated word from introduction in the README 2016-02-06 09:08:16 +01:00
Tiago Ilieve
72699d09c8 packages: fix sources section example
This closes #272.
2016-01-26 19:54:01 -02:00
Tiago Ilieve
5670305579 Merge pull request #270 from booi/master
euca2ools requires libxslt which requires zlibg1-dev to build via pip.
2016-01-16 11:21:02 -02:00
Brandon Ooi
c5a9798157 euca2ools requires libxslt which requires zlibg1-dev to build via pip. 2016-01-15 22:11:08 -08:00
Anders Ingemann
71d80ecf2e Merge pull request #269 from jszwedko/growpart-2
EC2: Added growpart script extension
2016-01-14 19:39:49 +01: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
673d2a520d Fix pep8 errors arising in PR builds
PR build is using pep8 1.7.0 but master is using 1.5.7; curious,
but this will fix it either way.

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:26:48 +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
Anders Ingemann
57371794a9 Merge pull request #268 from gkranis/patch-1
`image` was removed from the manifest c880a684, remove it from the ec2 schema
2016-01-12 09:05:34 +01:00
gkranis
56e98bd102 Remove stale requirement
omission from c880a6849a ?
2016-01-12 09:13:03 +02:00
Tiago Ilieve
fb18ac9640 Merge pull request #265 from clarktlaugh/master
enable support for creating kvm images for jessie on arm64
2016-01-10 20:58:12 -02:00
Tiago Ilieve
ec8d79866a README: fix jessie-vagrant.yml path 2016-01-10 16:51:42 -02:00
Clark Laughlin
46594b1ef0 enable support for creating kvm images for jessie on arm64 2016-01-08 13:06:57 -06:00
Anders Ingemann
fad4a4e3a1 Merge pull request #263 from stumyp/master
ignore loopback interface in udev rules
2015-12-19 14:01:46 +01:00
Anders Ingemann
1b2d4a3a70 Add docker.io install req to quick start 2015-12-17 10:22:22 +01:00
Tim Sattarov
97378befce ignore loopback interface in udev rules 2015-12-16 23:44:35 -05:00
Anders Ingemann
7b90e72b69 Fix path to jessie-minimized in docker quick start 2015-12-16 22:05:47 +01:00