diff options
author | zsdc <taras@vyos.io> | 2021-03-18 17:51:00 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2021-03-18 17:51:00 +0200 |
commit | c3cd4a20671b5a1313b5eb8e534fd8d1cf67db9f (patch) | |
tree | 577c07b3d85f531ce6704e367c4a29f6e9a2427e /roles/install-cloud-init/files | |
parent | c084415cff751d488d1460e58203ade538aea754 (diff) | |
download | vyos-vm-images-c3cd4a20671b5a1313b5eb8e534fd8d1cf67db9f.tar.gz vyos-vm-images-c3cd4a20671b5a1313b5eb8e534fd8d1cf67db9f.zip |
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.
Diffstat (limited to 'roles/install-cloud-init/files')
-rw-r--r-- | roles/install-cloud-init/files/debian.list.buster | 7 | ||||
-rw-r--r-- | roles/install-cloud-init/files/debian.list.jessie | 8 | ||||
-rw-r--r-- | roles/install-cloud-init/files/resolv.conf | 1 |
3 files changed, 0 insertions, 16 deletions
diff --git a/roles/install-cloud-init/files/debian.list.buster b/roles/install-cloud-init/files/debian.list.buster deleted file mode 100644 index fd5a770..0000000 --- a/roles/install-cloud-init/files/debian.list.buster +++ /dev/null @@ -1,7 +0,0 @@ -deb http://deb.debian.org/debian buster main contrib non-free -deb-src http://deb.debian.org/debian buster main contrib non-free -deb http://security.debian.org/debian-security/ buster/updates main contrib non-free -deb-src http://security.debian.org/debian-security/ buster/updates main contrib non-free -deb http://deb.debian.org/debian buster-updates main contrib non-free -deb-src http://deb.debian.org/debian buster-updates main contrib non-free -deb http://dev.packages.vyos.net/repositories/current current main diff --git a/roles/install-cloud-init/files/debian.list.jessie b/roles/install-cloud-init/files/debian.list.jessie deleted file mode 100644 index 0750699..0000000 --- a/roles/install-cloud-init/files/debian.list.jessie +++ /dev/null @@ -1,8 +0,0 @@ -deb http://deb.debian.org/debian jessie main contrib non-free -deb-src http://deb.debian.org/debian jessie main contrib non-free -deb http://security.debian.org/debian-security/ jessie/updates main contrib non-free -deb-src http://security.debian.org/debian-security/ jessie/updates main contrib non-free -deb http://deb.debian.org/debian jessie-updates main contrib non-free -deb-src http://deb.debian.org/debian jessie-updates main contrib non-free -deb http://dev.packages.vyos.net/repositories/crux/vyos crux main -deb http://dev.packages.vyos.net/repositories/crux/debian crux main diff --git a/roles/install-cloud-init/files/resolv.conf b/roles/install-cloud-init/files/resolv.conf deleted file mode 100644 index 81027f8..0000000 --- a/roles/install-cloud-init/files/resolv.conf +++ /dev/null @@ -1 +0,0 @@ -nameserver 1.1.1.1
\ No newline at end of file |