Anders Ingemann
a62ce1705a
Remove the PartitionGap class, it's way too much of a hassle to work with
...
Instead pad_start and pad_end have been introduced
2015-04-16 22:21:44 +02:00
Anders Ingemann
e5dd68acc7
Extlinux booting on gpt now working
2015-04-16 22:21:44 +02:00
Anders Ingemann
9a50cea204
Add 1 sector gap between partitions on GPT
2015-04-16 22:21:44 +02:00
Anders Ingemann
4d74c72d99
Simplify GPT a little by explicitly taking care of the GPT primary & secondary
...
Do the math for the GPT offset a little differently
2015-04-16 22:21:44 +02:00
Anders Ingemann
016fef606f
Account for PartitioGap in a few more places
2015-04-16 22:21:44 +02:00
Anders Ingemann
31b9cb5caa
The dmsetup function still divided self.size by 512, which is not necessary any longer since we are calculating in actual sectors now
2015-04-16 22:21:43 +02:00
Anders Ingemann
ac7e32d35e
Preserve stacktraces when reraising exceptions
2015-04-16 22:21:43 +02:00
Anders Ingemann
16eaade09a
Fix sectors/bytes type problem with single partition
2015-04-16 22:21:42 +02:00
Anders Ingemann
a476248ed6
Partition volumes by sectors instead of bytes
...
This allows for finer grained control over the partition sizes and gaps
2015-04-16 22:21:13 +02:00
Anders Ingemann
e8d6e7f602
factor AbstractPartition.Mount out into separate module and make it serializable
2015-04-16 22:15:20 +02:00
Anders Ingemann
e9137ac172
Make serialization a lot more easy to handle
2015-04-16 22:15:20 +02:00
Anders Ingemann
d06fbb4a2d
Turn on nazi option for sphinx and fix warnings
2015-04-11 16:40:44 +02:00
Anders Ingemann
ee3fe0bf42
Convert param docs into parseable format.
2014-05-04 19:31:53 +02:00
Anders Ingemann
2ebacf6a3a
Fix MBR offset and add some comments to explain
2014-05-04 13:41:16 +02:00
Anders Ingemann
a9558a729a
Make the gpt_offset fiddling easier to understand
2014-05-04 13:41:16 +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
Tomasz Rybak
b327823261
Add Google Cloud Engine (GCE) provider:
...
* force kpartx to use synchronous mode, removing sleep(10)
* get image configuration, use it during tarball creation and registration
* add (non-working, path problems) image registration
* add cleaning of image from Google keys and repositories
* add NTP server address in manifest
* add preference for backport kernels in manifest
* disable IPv6
* correctly set host name
2014-05-03 14:25:54 +02:00
Tiago Ilieve
47997b4b13
PEP8 fixes
2014-04-27 11:05:53 -03:00
Anders Ingemann
cf4a414c59
When detaching unset single partition dev_path
2014-04-07 21:52:26 +02:00
Anders Ingemann
801284cfec
Unset unlinked_device_path after use
2014-04-07 21:48:25 +02:00
Anders Ingemann
0c4ba09958
Remove unused real_device_path
2014-04-07 21:48:03 +02:00
Anders Ingemann
1371f639ac
Move volume imports in fs/__init__
2014-04-07 21:45:45 +02:00
Anders Ingemann
33a430566b
bootstrap-vz is now a proper python package
...
logs/ was remove. logs are now placed in /var/logs/bootstrap-vz instead
2014-04-02 23:25:50 +02:00
Anders Ingemann
bbb06d717e
Properly fix imports and make bootstrapvz work like a package
2014-04-02 21:32:10 +02:00
Anders Ingemann
6d757d2598
relative imports fixed
2014-04-02 21:26:14 +02:00
Anders Ingemann
18dfefe560
Minor doc fixes
2014-04-02 21:26:14 +02:00
Anders Ingemann
be96e4c13f
Move code into proper package folder
2014-04-02 21:26:13 +02:00