Commit Graph

8 Commits

Author SHA1 Message Date
Robert Collins
cb62bae9b8 Build images using loopdev instead of qemu-nbd.
Qemu-nbd does not perform well with older versions of qemu due to
the lack of writeback caching mode. It also only builds qcow2 images
and there is a desire for raw image support. Finally, qemu-nbd makes
it very difficult to build images concurrently due to the somewhat
opaque nature of how it selects a /dev/nbd# device. losetup, on
the other hand, makes this process very straight forward.

Change-Id: I309fad8af4fd1e8d1720c17b65e1897a76d5e897
Co-Author: Clint Byrum <clint@fewbar.com>
2013-04-30 08:56:12 -07:00
Robert Collins
274f4939a1 Fix the sudo rules for unpacking fedora raw images.
Change-Id: Icba75e0380f63a8f6059d1be4c63ac823b9f473d
2013-02-19 11:35:56 +13:00
Robert Collins
9afddcf266 New element that uses a fedora cloud image as the base.
Change-Id: I7d83bb2b359e7a8c3858eca04c96e35cf4e1fe9e
2013-02-15 09:33:29 +13:00
Clint Byrum
04a208c866 Add dib-run-parts install command to sudoers.d
Change-Id: I8943d18efa4077da87cb822255f70c6541f32f30
2013-02-14 11:36:06 -08:00
Ghe Rivero
861f633196 Add sudoers rule to format and mount anykind of partitions in disks.
The element vm is the only one creating a partition in the disk.
If not included, it will ask for sudo password to format or mount
the whole nbd disk or disks with multiple partitions.

Change-Id: Iac0987d2088433873b7cbb68deecc9254b2d0103
2013-01-28 17:35:37 +01:00
Ghe Rivero
38dc7680c9 Jenkins image fixed
- Removed http_proxy option
- Added sudoers entry to cp first-bot.d
- Fixed typo on 11-jenkins-plugins
- Restored trap exit on run-parts
2012-11-27 18:37:57 +01:00
Robert Collins
4b7cdb4fdc Fix copyrights for HP work. 2012-11-15 16:20:32 +13:00
Robert Collins
5cc195e391 Bring across disk image code. 2012-11-10 00:04:13 +13:00