summaryrefslogtreecommitdiff
path: root/roles/cleanup-ending/tasks
AgeCommit message (Collapse)Author
2021-06-28add ability to rebuild an ISOKim
2020-04-20Restored ability to build an OVA imagezsdc
Also: - actualized some variables - added more objects to cleanup to not keep garbage after playbook run - added variable to select default boot console in GRUB
2020-02-26Fixes and additions in QEMU image buildingzsdc
* Fixed deleting APT lists from a cache to decrease resulting image size * Added option for creating an archive with files required for boot via PXE * Added option for keeping default user when creating an image with Cloud-init
2020-02-20QEMU image build improvementszsdc
* Added missed package dependencies (for Debian 10 based builders) * Added additional options, which can be passed to the playbook: * iso_local - path to local ISO file * disk_size - target disk image size * cloud_init - enable or disable Cloud-init integration to an image * cloud_init_ds - set custom list of data sources for Cloud-init * Added a version number and Cloud-init mark to a QCOW2 image name * Cloud-init installation procedure tuned to use packages from a proper one VyOS repository, according to VyOS and Debian version * Added workaround for /etc/network/interfaces to allow Cloud-init initialize network in a native way * Replaced default config file to Jinja2 template * Fixed GRUB installation on UEFI builders - added target i386-pc * Replaced GRUB configuration: * enable both KVM and Serial console for all images (Serial by default) * added password recovery option for all images * added 5 seconds of a timeout to allow select proper menu entry * fixed booting for 1.3 VyOS * Added loop device detach after image build - allows to build images multiple times without exhausting loop device limit * Added fstrim applying for image - theoretically, this may save some space * Enabled compression for QCOW2 image - this reduces image size significantly * Added RAW image deletion after conversion to more accurate cleanup