Age | Commit message (Collapse) | Author |
|
|
|
|
|
Added build-essential in Dockerfile to Fix VMware Playbook
|
|
|
|
iso_local file gets overridden
|
|
Change python version to python3
|
|
Add Dockerfile and examples
|
|
ansible remove legacy shell args warning
|
|
On the newest systems like Debian12 the asnible shell args: warn is
legacy
It cause of
```
TASK [install-grub : Mount and bind /dev /proc /sys and /mnt/wroot/boot to /mnt/inst_root] **********************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
```
Delete args: warn
|
|
|
|
T5899: Use default repo bookworm if vyos_version is unknowm
|
|
|
|
Replace debian.list `bullseye` with `bookworm`
|
|
This option will completely drop `system login` section from the configuration.
|
|
Sometimes we need to add extra files, like configurations. This role allows to
copy them into the installation directory.
|
|
cloud init install force yes to avoid apt errors
|
|
|
|
Revert "Small fixes for integration with Ansible Tower"
|
|
|
|
Small fixes for integration with Ansible Tower
|
|
|
|
|
|
|
|
docs: Add DHCP & SSH enable options
|
|
|
|
do not match: https://github.com/ansible/ansible/issues/64016
|
|
|
|
Since commit d6532ad9f6d6317, overlayfs is used instead
of aufs. It is then safe to remove the aufs modprobe.
|
|
T4278: Fix config template
|
|
The configuration template roles/install-config/templates/config.boot.j2
has been updated in commit db1b4f2079a for libvirt provider.
However, variables enable_dhcp and enable_ssh are not declared except
in playbook vagrant-libvirt.yml, which causes an error when using
another playbook.
This commit adds a default value in role "install-config", to fix this issue.
|
|
T4278: Fix vagrant box for libvirt provider
|
|
|
|
|
|
|
|
T4298: solve ansible warnings
|
|
T4298: Update vyos latest download url in all.yml
|
|
Update download url
|
|
Ansible does not like the dash in the group name
|
|
After commit 680a2b4 ("fix errors in custom package install") an empty
"command:" remained.
|
|
|
|
Added 1MB offset before the first partition. This is required by some platforms, for example Aure, to validate an image.
|
|
|
|
|
|
* 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.
|
|
Fixes for Cloud-init, code optimization
|
|
- 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.
|
|
Added lost `custom_debs` directory
|
|
Since git ignores empty directories, the directory for placing custom deb files was lost during the last commit.
|
|
Multiple build improvements
|
|
- 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.
|