Anders Ingemann
f572703ecc
Bootstrap azure images directly to VHD
2015-10-14 22:40:15 +02: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
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
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
Anders Ingemann
5823c9119b
Split grub and extlinux installs into separate modules
2015-04-16 22:21:12 +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
9d8821235f
Clone packages-kernels.yml pattern to other providers
...
GCE also gets its own file.
For now, this scales - but we might want to refactor when there is more that just the kernel package we need to choose from
2014-07-09 23:17:05 +02:00
Anders Ingemann
e4a9cc837a
Differentiate installation of grub 1.99 and grub 2
2014-07-09 23:17:05 +02:00
Anders Ingemann
03a0746299
Convert every JSON file to YAML
...
Lines removed: over 500. Readiblity gained: A shitload
Now you can actually get an overview of a manifest on a single screen height.
I am sure that it will also save a lot of hassle when modifying schema in the future.
No more "expected property name" etc. because of an extraneous comma
Comments are of course natively support, so there's no need for this minify_json hokey pokey
2014-07-09 23:17:04 +02:00
Anders Ingemann
ebba39f59b
Convert "provider" into provider specific section
...
This is where all provider specific settings belong
like waagent on azure, guest additions iso path on vbox and virtualization type on ec2
2014-07-09 23:17:04 +02:00
Anders Ingemann
4f45749e13
Check if qemu-img is available
2014-05-22 17:28:17 +02:00
Anders Ingemann
f3d633780f
Use string concatenation instead of format()
...
String concatenation can at times be easier to read that format().
One should choose whichever approach is more readable.
2014-05-04 13:41:15 +02:00
Anders Ingemann
e68ed9b66c
Fix import errors, again.
...
(A rebase swallowed a commit somewhere)
2014-05-03 17:04:37 +02:00
Anders Ingemann
7958950d19
Generalize "grub only on partitioned volumes" err
...
(move it into base manifest validation)
2014-05-03 16:13:49 +02:00
Anders Ingemann
0a2cd86b4b
Add get_standard_rollback_tasks()
...
This simplifies the the providser rollback_tasks fn considerably
2014-05-03 16:13:49 +02:00
Anders Ingemann
6d2a52f7a0
Create security group (part of standard group)
2014-05-03 16:13:46 +02:00
Anders Ingemann
c0292bf526
Remove unused imports
2014-05-03 16:13:09 +02:00
Anders Ingemann
d5efec8885
Add ssh_group, which configures SSH properly
2014-05-03 16:13:07 +02:00
Anders Ingemann
c81045cc6e
Simplify adding tasks
...
There is now a get_standard_groups function
2014-05-03 16:12:35 +02:00
Tiago Ilieve
47997b4b13
PEP8 fixes
2014-04-27 11:05:53 -03:00
Tiago Ilieve
fe6a5047cd
Rename task_sets to task_groups
...
This closes #17
2014-04-26 17:13:41 -03:00
Tiago Ilieve
5502a5c3b1
Add hostname setting to azure provider
2014-04-13 21:57:10 -03:00
Anders Ingemann
69a76f2597
Fix PEP8 errors
2014-04-10 00:27:37 +02:00
Tiago Ilieve
d84e02247a
Make use of $PATH
wherever possible
2014-04-09 13:34:34 -03:00
Tiago Ilieve
9d375810f0
'os' module has already been imported
2014-04-09 13:30:42 -03:00
Tiago Ilieve
2fbea1f656
Minor fixes regarding coding style
2014-04-09 13:29:14 -03:00
Olivier Sallou
b04bda220a
Download Waagent archive instead of using git repo.
...
Specify the version in the manifest (system/waagent section)
Add possibility to specify waagent conf file in manifest (system/waagent section)
Update documentation to match changes
Use log_check_call instead of log_call
refactor test on dictionary key
2014-04-09 18:03:29 +02:00
Anders Ingemann
9e20731c84
Cosmetic changes in azure provider
2014-04-08 23:29:45 +02:00
Olivier Sallou
fb5d630c9b
add azure provider
2014-04-08 08:53:26 +02:00