Age | Commit message (Collapse) | Author |
|
- Cleaned up APT configuration code.
- Added ifupdown to Cloud-init install. This is required for all datasources that fetch data from remote hosts.
- Fixed error that stops playbook if the `custom_debs` directory is empty and `-e custom_packages=true` is used.
|
|
- 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.
|
|
Since some of the build target platforms do not support hybrid partition table and require only MBR (AWS AMI), was added option that allows selecting a partition table type:
```
-e parrtable_type=type
```
where `type` can be one of: `mbr`, `gpt`, `hybrid`.
Default value is `hybrid`.
|
|
The current listing of the https://downloads.vyos.io/?dir=rolling/current/amd64 is not compatible with the old parser. Also, now it is not necessary to search for the latest image anymore - it has always the same static URL.
Therefore, the download page parser was removed and the download task was modified to download an ISO from a permanent URL.
|
|
|
|
|
|
|
|
|
|
- Fixed GRUB installation on UEFI hosts. On UEFI machines GRUB will try to install EFI version by default, so we need to set `--target` on i386-pc version too;
- Fixed /dev/mapper devices unmounting, removing, and loopback detach. `kpartx -d` does not detach devices from `/dev/mapper` at least in a testing environment (Debian Buster inside Docker). That why we need to run `dmsetup remove` directly for this. The same with a loopback device. If not do this, resources will be busy and all builds except the first one may fail;
- Deleted hybrid MBR creating task. It has a wrong syntax and does not work, and it looks like it is needless anyway.
|
|
|
|
Supported agents:
- open-vm-tools (`vmware` option)
- qemu-guest-agent (`qemu` option)
|
|
|
|
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
|
|
|
|
|
|
When Cloud-init metadata is not available this module can break configuration procedure or overwrite options, assigned via User-Data.
|
|
With /boot/ directory it is possible not only run VyOS in-memory but also install it via PXE too in a native way
|
|
* 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
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|