aboutsummaryrefslogtreecommitdiff
path: root/leg-cloud-image
AgeCommit message (Collapse)Author
2017-08-04leg-cloud-debian: change rootfs size to 1.5GB - #3192Marcin Juszkiewicz
m1.tiny flavour has 1GB disk m1.small flavour has 2GB disk Previous cloud image was 10GB which was far too much. root@(none):/# df -Th |grep vda /dev/vda2 ext4 1.4G 1.1G 304M 78% / /dev/vda1 vfat 60M 238K 60M 1% /boot/efi Change-Id: I61c7e1f45f8bcddfce7623ddd08db9fe290be9c6
2017-08-03leg-cloud-image-debian: resize filesystem when image is resizedMarcin Juszkiewicz
cloud-init from jessie was resizing partition but not filesystem cloud-init from jessie-backports (0.7.7 version) does resize of filesystem as well Change-Id: I238f614cb91da58f4780512e4cfc4fe73fac7e3c
2017-07-31leg-cloud-image-debian: add forgotten sudoMarcin Juszkiewicz
Change-Id: I37426330b504dc0ce60d7439f90aaff4200af861
2017-07-26leg-cloud-image-debian: no swap pleaseMarcin Juszkiewicz
Change-Id: I9fab7c5aa68eaeff62d51c0fce34d570f3d65b88
2017-07-26leg-cloud-image-debian: fetch resulting image from host - #3164Marcin Juszkiewicz
Change-Id: If94cb60064fb69228c4927916f9974460469112b
2017-07-26leg-cloud-image-debian: install proper libvirt binariesMarcin Juszkiewicz
libvirt-bin is for jessie version of libvirt so cpio was not installed and build failed. Change-Id: I5f5af39d0f28e5de17c962ff3d350e16385402cf
2017-07-26leg-erp-cloud-image: enable debugMarcin Juszkiewicz
Change-Id: I58ceb60ddaccc30864f79c160170e877459e06e2
2017-07-25leg-cloud-image: Jessie is oldstable now, force virtio-mmioMarcin Juszkiewicz
We updated libvirt to 3.x which defaults to virtio-pci. But Jessie kernel is too old for that and does not recognize network card so installer fails. Change-Id: Ie35fe4c54c404a193fc11b0a4d50cf6cd430b06b
2017-06-13leg-cloud-image-debian: install cpio build dependencyFathi Boudra
virt-install depends on cpio to perform initrd injections. Change-Id: I34ade471cb1f41e42b22f36cf8ee1be27610168f Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2017-05-18ERP: update repositories to 17.08Fathi Boudra
Since we keep released repositories frozen, use the freshly created 17.08 repositories for the upcoming release. At this point, 17.08 repositories are duplicating 16.12 content, with the exception of efibootmgr 15 and efivar 30 backports. Change-Id: Ic41ef351ebd80f2290fd4acb2558976eb18d4649 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-12-08centos cloud image: install gdisk for image resizingMarcin Juszkiewicz
Change-Id: I39fc6392890b61ad269ac9f85764fb6b3924ff84
2016-12-06leg-cloud-image-debian: update repository to erp-16.12-stableFathi Boudra
Change-Id: Ic087db65e1806f444d6fe8f8f7489cb60301255b Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-12-05leg-cloud-image-debian: add sudoers snippetFathi Boudra
Allow debian user to run sudo without password. https://bugs.linaro.org/show_bug.cgi?id=2667 Change-Id: I66f50646d398eb302d51761d3946e91c7b3d68ef Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-26leg-cloud-image-centos: use sudo cpFathi Boudra
the files aren't all group/other readable. Change-Id: I1e5fcbfdd302c41bae88c564906a51d90d2e87da Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-26leg-cloud-image-centos: fix kernel/initramfs naming schemeFathi Boudra
The files names have changed. It doesn't contains "reference" anymore. Change-Id: Icabb44295f024b359880f7f733a15310832cb22d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-26leg-cloud-image: remove leftover commentsFathi Boudra
Change-Id: I74a7b22ae08847f18b2b76cda2891db9b7f87c4b Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-26leg-cloud-image: use qemu-nbd/kpartx to extract kernel/initramfs from imageFathi Boudra
virt-copy-out runs qemu and requires a kernel for supermin. It's a bit overkill for just extracting kernel/initramfs like in our use case. Mounting a local qcow2 image is also faster. Change-Id: I236b9800dd49f26893052b132e776441684da1c3 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-25leg-cloud-image: reduce the delta between jobs using libvirtFathi Boudra
* use virsh vol-delete to clean up the image * add a comment to explain why we don't use virsh vol-download * use --disk=pool=default consistently Change-Id: Iaf7b88a2438d4b6c5643e263d2469547a31efb9c Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-11-24leg-cloud-image: separate shell step into an included builder.sh scriptFathi Boudra
* use include-raw to include builders.sh script * split d-i preseed and anaconde kickstart configuration in plain text file * publish into a separate step to avoid token timeout * configure libvirt uri_default at runtime * fix shell expansion syntax in centos ks (dracut call) Change-Id: I12b9f765210174ce1b92313770c34ceca40c9f41 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>