summaryrefslogtreecommitdiff
path: root/qemu.yml
AgeCommit message (Collapse)Author
2024-03-14Added support for new GRUB configuration in >=1.4zsdc
Added support for the new GRUB configuration style used in VyOS 1.4 and newer.
2023-12-27Added `copy-custom-files` role.zsdc
Sometimes we need to add extra files, like configurations. This role allows to copy them into the installation directory.
2022-04-19T4278: Remove aufs modprobeOlivier Lemasle
Since commit d6532ad9f6d6317, overlayfs is used instead of aufs. It is then safe to remove the aufs modprobe.
2021-06-11Updated vmware build playbooks (#18)Kim
* Add debian version variables. Removed compression flag from ovftool command * Updated vmware playbook to be able to generate a simple OVA without properties and set the vmware hardware based on debian version configured to support debian 10 guests. * Update the default time servers to the VyOS time servers. * Add rescue option if the play fails to unmount filesystems.
2021-03-18Multiple build improvementszsdc
- Removed `empty_config` option. The config should be now always empty because Cloud-init adds required parts dynamically at the first boot. - Added ability to include any additional packages to the image, from list or deb files. - Moved common resources for multiple tasks from tasks folder to `files` and `templates` on the root folder. - Make `trim` actually works. Before this, it actually was a no-op, because RAW image mounted without the `discard` option cannot be trimmed. This significantly reduced the size of images with any additional packages inside, for example with Cloud-init. - Fixed APT repository paths, according to the new structure of `dev.packages.vyos.net`. - Added proper build repository for VyOS 1.3. It used the wrong `current` repo when should be `equuleus` now. - Removed unused `boot/grub/device.map.j2` template. - Deleted a secondary console option from the `grub.cfg.j2` template. According to testing an active console is only the latest listed, so it seems that there is no sense to keep there two items.
2020-04-29Build BIOS/UEFI Hybrid Imageskroy
2020-04-23Added option to install guest agentszsdc
Supported agents: - open-vm-tools (`vmware` option) - qemu-guest-agent (`qemu` option)
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
2018-10-25Add cloud-init to QEMU/VMware/Hyper-V imagesmasterYuya Kusakabe
2018-06-28Cleanup playbookYuya Kusakabe
2018-06-20Initial QEMU supportYuya Kusakabe