Anders Ingemann
d1197ca82c
Jessie was release, update codename mapping
2015-04-26 10:39:54 +02:00
Tiago Ilieve
3131558691
Fix msdos partition/filesystem types definition
...
This closes #142 .
2015-04-25 21:07:48 -03:00
Tiago Ilieve
22760c76db
Revert a2cf28b
( #213 )
...
Looks like we may or may not need to create those uuid links by
ourselves. This patch also adds a verification to not create/delete the
link if it already exists or not, respectively.
2015-04-25 19:24:55 -03:00
Tiago Ilieve
940a089933
Little indentation fix (spaces to tabs)
2015-04-25 16:37:27 -03:00
Jonas Bergler
8f03987593
Fix installation of vbox guest additions.
...
Credits for this idea go to @myhro who suggested emulating uname.
I cleaned his changes up somewhat and moved the script into a
separate file to make things easier to look at.
I did a test build of wheezy with my changes and the modules were
installed correctly.
root@localhost:/home/vagrant# dkms status
vboxguest, 4.3.20, 3.2.0-4-amd64, x86_64: installed
root@localhost:/home/vagrant# lsmod | egrep ^vbox
vboxsf 33359 0
vboxvideo 12437 0
vboxguest 162115 1 vboxsf
2015-04-25 16:12:26 -03:00
Tiago Ilieve
cba0a99d0a
Fix truncate
arguments
...
`truncate` doesn't expect the parameter `create` that was used
previously by `qemu-img`. This made a sparse file named "create" to
appear at current working directory every time the command as executed.
This closes #212 .
2015-04-23 23:19:16 -03:00
Anders Ingemann
4d561274e4
Make bootstrap-vz-remote actually work
...
Wow, that's quite an oversight...
2015-04-23 23:30:39 +02:00
Anders Ingemann
d496c028cd
Document the remote bootstrapping procedure
2015-04-19 19:28:13 +02:00
Anders Ingemann
501e6ad97b
This is cool. Relative links that link between folders/files in the github repo are converted to relative links in the documentation.
2015-04-19 13:05:58 +02:00
Anders Ingemann
e80ad46972
Repeat index/README pattern for plugins & providers
2015-04-16 23:52:07 +02:00
Anders Ingemann
a7d5c93fa1
Add README for remote bootstrapping
2015-04-16 23:32:19 +02:00
Anders Ingemann
03f8d231e2
Move developers intro into bootstrapvz/ as README
2015-04-16 23:27:09 +02:00
Anders Ingemann
a2cf28b054
Revert 03efa0f ( #210 )
...
It seems the bug was only present on my old dev bootstrapping machine
This reverts commit 03efa0ffdf1ee0d3cf81905e6e4d9f5f6aa62143.
2015-04-16 22:22:49 +02:00
Anders Ingemann
f1e4d34eb9
Fix error mentioned in #152 (Pyro4 shouldn't be a dependency)
2015-04-16 22:22:49 +02:00
Anders Ingemann
d9adb293eb
Simplify enhanced networking check
2015-04-16 22:22:48 +02:00
Anders Ingemann
3c17c756a1
Fix typo in docs
2015-04-16 22:22:48 +02:00
Anders Ingemann
d81ac0972f
Simpler checks for manifest support
2015-04-16 22:22:48 +02:00
Anders Ingemann
bfe58dd4a8
Implement PR #201 by @jszwedko
2015-04-16 22:22:48 +02:00
Anders Ingemann
53c9eb572e
Support testing of EC2 S3 backed instances
2015-04-16 22:22:48 +02:00
Anders Ingemann
3c5d385a69
Fix grub boot on ec2 hvm jessie
2015-04-16 22:22:48 +02:00
Anders Ingemann
f4851ac06d
fix typo in comment
2015-04-16 22:22:48 +02:00
Anders Ingemann
9101b2e9ec
Add a little helpful not to tasklist ordering warning
2015-04-16 22:22:47 +02:00
Anders Ingemann
caf5d6af15
Add salt dependencies in the right phase
2015-04-16 22:22:47 +02:00
Anders Ingemann
9ad79cbf60
Remove some unnecessary dependencies across phases
2015-04-16 22:22:47 +02:00
Anders Ingemann
97ad69df5e
extlinux now works with gpt on hvm instances
2015-04-16 22:22:47 +02:00
Anders Ingemann
50297d790c
Fix problem with 1 MiB too large volume when combining gpt and grub
2015-04-16 22:22:47 +02:00
Anders Ingemann
736852a959
Enable grub for hvm AMIs
2015-04-16 22:22:47 +02:00
Anders Ingemann
411578a498
*Always* use link_dm_node() when install grub 1.99
...
Grub install fails when in a chrooted environment,
it has nothing to do with the volume being a loopback volume
2015-04-16 22:22:47 +02:00
Anders Ingemann
8364f824b0
Fix typo
2015-04-16 22:22:47 +02:00
Anders Ingemann
4ad1d51624
Take @ssgelm's advice in #155 and copy the mount table
...
df warnings no more :-)
2015-04-16 22:22:47 +02:00
Anders Ingemann
80ac206fb4
Issue warning when specifying pre/successors across phases
2015-04-16 22:22:47 +02:00
Anders Ingemann
b582bac853
Generally deny installing grub on squeeze
2015-04-16 22:22:47 +02:00
Anders Ingemann
7f4d46a330
Fix serialization error when ManifestException is thrown
...
("__init__() takes at least 3 arguments (2 given)")
2015-04-16 22:22:46 +02:00
Anders Ingemann
07e4c97c09
Fix PEP8 nitpick
2015-04-16 22:22:26 +02:00
Anders Ingemann
25051d4c04
Improve __getstate__ for bootstrapinfo
...
This approach may be a little hacked, but it works for now and
if it breaks at some point in the future because of e.g. circular references
that bridge will have to be crossed then
2015-04-16 22:21:46 +02:00
Anders Ingemann
51bb3dd57f
Integration testing for EC2
2015-04-16 22:21:46 +02:00
Anders Ingemann
ec96de3a0e
fix log_call logging when command is a string
2015-04-16 22:21:46 +02:00
Anders Ingemann
d26ba8bea4
Simplify exception throwing in sed_i
2015-04-16 22:21:46 +02:00
Anders Ingemann
f63d3c73aa
Use subn to count the actual replacements done in inline_replace()
2015-04-16 22:21:46 +02:00
Anders Ingemann
e035f83edf
Fix problem when (de-)serializing bootstrapinfo twice
2015-04-16 22:21:46 +02:00
Anders Ingemann
3c642e0b02
Fix serialization of DictClass
...
using it in Queue.put somehow broke it
2015-04-16 22:21:46 +02:00
Anders Ingemann
51e9e29b24
Move server control code to the top
2015-04-16 22:21:46 +02:00
Anders Ingemann
4582ea1498
Better termination when exiting while connecting to the RPC daemon
2015-04-16 22:21:46 +02:00
Anders Ingemann
9505110d4a
*first* start the callback server *then* the RPC daemon
...
This way we don't stop logging before the daemon is shut down.
2015-04-16 22:21:46 +02:00
Anders Ingemann
686f9e4230
No need to remember the callback server
2015-04-16 22:21:45 +02:00
Anders Ingemann
b067ada15e
Introduce some awesome signal handling
...
We can now press Ctrl+C remotely while any subprocess of the bootstrapping process is running,
previously SIGINTs weren't propagated to the bootstrapping process because there was a thread
in between it all. Now the bootstrapping process is in it's own process group.
2015-04-16 22:21:45 +02:00
Anders Ingemann
a0e3ba218f
Always attempt to close SSH gracefully
2015-04-16 22:21:45 +02:00
Anders Ingemann
e9a3845281
Fix serialization of CalledProcessError
2015-04-16 22:21:45 +02:00
Anders Ingemann
17a4511ee1
Convert remote building state management to work in with statements
...
exception and state handling is a lot easier now, less class vars etc.
2015-04-16 22:21:45 +02:00
Anders Ingemann
ef37cd257f
Move build servers into separate module
2015-04-16 22:21:45 +02:00