Skip to content

Latest commit

 

History

History
410 lines (315 loc) · 20.6 KB

CHANGELOG.md

File metadata and controls

410 lines (315 loc) · 20.6 KB

Changelog

Version 3.0.2 2024-05-23

Codename: Defying Gravity - https://www.youtube.com/watch?v=l0Bs_eaXaCo

  • [ANSIBLE] - permanent removal variables from playbook
    • install_zabbix: false # install Zabbix-agent
    • install_zabbix_as_root: false # install Zabbix-agent as root
    • install_puppet: true # Install Puppet
    • install_kubernetes_workaround: false # add cgroup.memory=nokmem to grub
  • [ANSIBLE] - change playbook version to 20240404
  • [ANSIBLE] - removed systemd.unified_cgroup_hierarchy for RHEL anc clones above 8 as this is set by default in OS
  • [AlmaLinux] - added support for AlmaLinux 9.4
  • [OracleLinux] - added support for Oracle Linux 9.4
  • [RockyLinux] - added support for Rocky Linux 9.4
  • [Ubuntu] - added support for Ubuntu 22.04

Version 3.0.1 2023-12-08

Codename: Slip Away - https://www.youtube.com/watch?v=G8g_7CDwbmI

  • [RockyLinux] added RockyLinux 8.9 support
  • [RockyLinux] added RockyLinux 9.3 support
  • [AlmaLinux] added AlmaLinux 8.9 support
  • [AlmaLinux] added AlmaLinux 9.3 support
  • [OracleLinux] added OracleLinux 8.9 support
  • [OracleLinux] added OracleLinux 9.3 support
  • #19 - fixed typo.

Version 3.0.0 2023-09-16

  • [BREAKING_CHANGE] complete redesign of building process. Instead od separate scripts now you're presented with generic hv_generic.ps1 script run with proper parameters. This will allow for easier maintenance and less clutter in repository
  • [BREAKING_CHANGE] complete redesign of extra folder structure. Instead of primary structure based on hypervisor, current structure focuses on OS type, then if needed on hypervisor or cloud model. This will allow for easier maintenance and less clutter in repository
  • [BREAKING_CHANGE] complete redesign of Windows Update process. Instead of Nuget-based module, now we're presented with packer windows-update plugin. This will allow for easier maintenance and less clutter in repository
  • [BREAKING_CHANGE] complete redesing of templates. Instead of separate files for each template, now we're presented with generic family template (windows/rhel/ubuntu) This will allow for easier maintenance and less clutter in repository. Since packer doesn't support conditions, we're using empty resources to change its flow.
  • [BREAKING_CHANGE] dropping support for Vagrant builds. This can be introduced later, but for now, these builds are removed.
  • [BREAKING_CHANGE] dropping support for extra volumes for Docker. This is related both with removal of Docker from Kubernetes in favor of containerd, which forces different paths for containers.
  • [BREAKING_CHANGE] dropping customization image tendencies. We'll try to generate images as much generic as possible, without ground changes in them. Non-generic changes like adding Zabbix or Puppet will be removed in next releases, as I do believe this is not the Packer's role.
  • [BREAKING_CHANGE] dropping support for CentOS 7.x
  • [BREAKING_CHANGE] dropping support for Windows Server 2016

Version 2.0.1 2022-12-20

Codename: Jedwab - https://www.youtube.com/watch?v=G_Lsdk88AYM

  • [Extra] extra scripts and playbooks optimizations
  • [RockyLinux] added RockyLinux 9.1 support
  • [RockyLinux] added RockyLinux 9.1 Docker support
  • [RockyLinux] added RockyLinux 9.1 Vagrant support
  • [RockyLinux] added RockyLinux 8.7 support
  • [RockyLinux] added RockyLinux 8.7 Docker support
  • [RockyLinux] added RockyLinux 8.7 Vagrant support
  • introduced required packer plugins
  • reworked README.md

Version 2.0.0 2022-11-13

Codename: Patience https://www.youtube.com/watch?v=ErvgV4P6Fzc

  • [BREAKING_CHANGE] Puppet repositories and puppet agent no longer is being installed by default. To change this behavior adjust vatiables for ansible playbooks in /variables/{distro-name}.yaml files
  • [BREAKING_CHANGE] System Center 2019 agent doesn't support RHEL 9/Rocky Linux 9 - instalation fails
  • [BREAKING_CHANGE] removal of all Windows SAC deployments - this repo will no longer support these editions
  • [Extra] extra scripts and playbooks optimizations
  • [RockyLinux] added RockyLinux 9.0 support
  • [RockyLinux] added RockyLinux 9.0 Docker support
  • [RockyLinux] added RockyLinux 9.0 Vagrant support

Version 1.9.10 2022-07-25

Codename: It's a sin

  • [Extra] fixes for lacking ansible package in ansible.sh provisioning script

Version 1.9.9 2022-07-24

  • [Ubuntu] added Ubuntu 22.04
  • [Extra] set of fixes for Ubuntu 20.04 not properly behaving during late_commands stage
  • [Extra] fixes form mutual arm64 and amd64 builds
  • [Extra] fixes for ubuntu builds skipping SystemCenter agent installation

Version 1.9.8 2022-06-25

  • [AlmaLinux] added AlmaLinux 8.6

Version 1.9.7 2022-06-22

  • extra scripts and playbooks optimizations
  • [RockyLinux] added RockyLinux 8.6
  • [OracleLinux] added OracleLinux 8.6
  • [Windows] bump puppet-agent package to version 7.14.0

Version 1.9.6 2022-05-04

  • [BREAKING_CHANGE] bumped puppet package and repository to version 7, for all Linux RHEL-based machines
  • [BREAKING_CHANGE] bumped zabbix package and repository version to 6 LTS for all Linux RHEL-based machines
  • [BREAKING_CHANGE] bumped puppet-agent version to 7.14.0 (7.x branch) for all Windows machines
  • extra scripts optimizations

Version 1.9.5 2022-02-20

  • [Ubuntu] fixed boot_command variable not being passed properly, thus failing Ubuntu builds

Version 1.9.4 2022-02-13

  • [BREAKING_CHANGE] change puppet server default name to more generic foreman.example.com in \extra\playbooks\*_variables.yml
  • [Windows] bumped puppet-agent to version 6.26.0
  • [Oracle] added Oracle Linux 8.5 support
  • [Oracle] added Oracle Linux 8.5 Docker support
  • [Oracle] added Oracle Linux 8.5 Vagrant support
  • [Linux] by default, disabled instalation of Webmin in favor of Cockpit (on every 8.x RHEL clone). See variables folder
  • [Extra] small fixes in deploy scripts
  • Introduced .gitattribues as cloning this repo in Windows Environment was converting all .sh files to CR/LF

Version 1.9.3 2022-01-30

  • [BREAKING_CHANGE] Windows Server units (1909/2004/20H2) will be deprecated and removed in next major release
  • [BREAKING_CHANGE] Windows Server 2016 will be deprecated and removed in next major release
  • [Ubuntu] fixed image being vagrant-only
  • [Ubuntu] fixed several problems with provisioning
  • [AlmaLinux] added AlmaLinux 8.5
  • [RockyLinux] added RockyLinux 8.5

Version 1.9.2 2021-11-21

  • [Windows] added Windows Server 2022 Standard support
  • [Windows] added Windows Server 2022 Datacenter support
  • [Windows] added Windows Server 2022 Standard Vagrant support
  • [Windows] added Windows Server 2022 Datacenter Vagrant support
  • [Windows] bumped puppet-agent to version 6.25.1
  • [Windows] renamed all references from terminus to tabby
  • extra scripts optimizations

Version 1.9.1 2021-08-29

  • [Windows] added Windows Server ver 20H2 support

Version 1.9.0 2021-08-15

  • [RockyLinux] added Rocky Linux 8.4 support
  • [RockyLinux] added Rocky Linux 8.4 Docker support
  • [RockyLinux] added Rocky Linux 8.4 Vagrant support

Version 1.8.2 2021-08-14

  • [Extra] Bump puppet-agent to 6.24.0 for Windows
  • [Extra] Removed conemu from Windows mandatory packages
  • [Extra] added terminus aka tabby to phase-5a.software
  • [Extra] minor script changes (unified output and naming)
  • tested with packer 1.7.3 and 1.7.4
  • [Windows] tested with Windows 2019 image from 2021-07
  • [Extra] switch ansible.sh to 2.11 branch

Version 1.8.1 2021-06-08

  • [BREAKING_CHANGE] switch CentOS 7 templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Ubuntu 20.04 templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Windows Server 1909 Standard templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Windows Server 2004 Standard templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Windows Server 2016 Standard templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Windows Server 2019 Standard templates to new Packer's HCL2 syntax
  • [BREAKING_CHANGE] switch Windows Server 2019 Datacenter templates to new Packer's HCL2 syntax

Version 1.8.0 2021-06-05

  • [BREAKING_CHANGE] switch AlmaLinux templates to new Packer's HCL2 syntax
  • [AlmaLinux] added several variables (memory, cpu)
  • [AlmaLinux] added Alma Linux 8.4 support
  • [AlmaLinux] added Alma Linux 8.4 Docker support
  • [AlmaLinux] added Alma Linux 8.4 Vagrant support

Version 1.7.2 2021-05-19

  • [Extra] fixed cleaning temp script for Windows, to skip current packer scripts.
  • [Extra] Package zabbix-agent was replaced by zabbix-agent2 in default settings, same for service
  • [Extra] ansible.sh prepared to run on multiple ditributions

Version 1.7.1 2021-05-11

  • [BREAKING_CHANGE] switch Puppet repository to version 6
  • [CentOS] Fixed prepare_neofetch.sh not being run in playbook

Version 1.7.0 2021-05-11

  • [BREAKING_CHANGE] CentOS 7 and AlmaLinux slowly switching to ansible instead of scripts
  • [BREAKING_CHANGE] switch Zabbix repository to version 5.2. Zabbix repository and zabbix-agent are not added by default. In future revisions choice between zabbix-agent and zabbix-agent2 will be maintained
  • [AlmaLinux] added Alma Linux 8.3 Docker support
  • [Extra] thinning and removing obsolete revisions
  • [Extra] unifying Linux scripts under one folder

Version 1.6.0 2021-05-03

  • [BREAKING_CHANGE] removal of CentOS 8.x support
  • [BREAKING_CHANGE] removal of 2 last supported releases, since 1.6.0 only latest release will be supported.
  • [BREAKING_CHANGE] removal of Windows 1903 support
  • [AlmaLinux] added AlmaLinux in experimental mode
  • [AlmaLinux] added AlmaLinux 8.3 support
  • [AlmaLinux] added AlmaLinux 8.3 Vagrant support
  • [Extra] changed Zabbix to 5.2 and set to do not install by default, variable: provision_script_options
  • [Extra] added support for AlmaLinux
  • [Extra] bumped version of Docker for Windows to 20.10.4
  • [Extra] consolidated paths for redundand System Center Linux Agent installation

Version 1.5.0 2021-01-21

  • [BREAKING_CHANGE] Stop support for CentOS 8.x due to premature project termination. Future revisions will remove CentOS 8 completely in favour of its replacement
  • [Ubuntu] added Ubuntu (in experimental mode)
  • [Ubuntu] added Ubuntu 20.04 support

Version 1.4.4 2020-11-17

  • [CentOS] added CentOS 7.9 support
  • [CentOS] added CentOS 7.9 Docker support
  • [CentOS] added CentOS 7.9 Vagrant support
  • [CentOS] CentOS 7.8 doesn't update OS by default anymore
  • [Windows] upgrade puppet-agent package to version 5.5.22
  • [Extra] smaller adjusts in extra

Version 1.4.3 2020-09-25

  • [CentOS] bump SystemCenter Agent to 1.0.3.1028
  • [CentOS] bump Zabbix repository version to 4.4
  • [CentOS] fixes in provision.sh script for CentOS7/CentOS8
  • [Windows] upgrade puppet-agent package to version 5.5.21

Version 1.4.2 2020-07-04

  • [BREAKING CHANGE] added support for packer >= 1.6.0. This also means previous versions of packer are not supported anymore.
  • [Windows] added Windows Server 2004 Std support
  • [CentOS] added CentOS 8.2 support
  • [CentOS] added CentOS 8.2 Vagrant support
  • [Extra] smaller scripts improvements
  • [Extra] bumped docker version to 19.03.05 - Windows
  • [Extra] bumped puppet-agent version to 5.5.20 - Windows

Version 1.4.1 2020-05-31

  • [Extra] added parameters to phase3.ps1 script
  • [Extra] unified verbosity in phases output

Version 1.4.0 2020-05-01

  • [Extra] added rkhunter package to provision.sh script
  • [CentOS] Added CentOS 7.8 2003 support
  • [CentOS] Disabled updates -u false in CentOS 7.7 template
  • Updated README.md

Version 1.3.0 2020-04-22

  • [Extra] added parameter for zabbix-agent installation (-z false)
  • [Extra] according to provision options firewalld rules are not added or not based on install packages decision. This means - if you no longer need zabbix-agent package, firewalld rules for this package won't be created
  • [Linux] added variable boot_command to be able to parametrize it via variables file
  • [CentOS] Added CentOS 8.1 support
  • [CentOS] Added CentOS 8.1 Vagrant support
  • [CentOS] Thinned CentOS 7 packages, X-Windows System is not installed by default. Default image size decreased from ~6 GB to ~3.5GB

Version 1.2.2 2020-04-19

  • [Extra] added TLS 1.2 fixes for rest of Powershell scripts
  • [Extra] fixed problem with SCVMM agent not being installed (hardcoded name)
  • [Extra] added tune2fs 1% change for extra drives in mkfs_device.sh
  • [Extra] decreased priority for epel repository to 90 from 60
  • [Windows] Introduce new variable update_timeout to increase time between Windows Update cycles. Currently I couldn't find a stable way to check if previous update cycle completed before jumping into new one. Adding pauses causes less interference between phases.
  • improved documentation based on questions

Version 1.2.1 2020-03-09

  • [ALL] added checksum calculations to ps1 scripts
  • [Extra] added fix for TLS 1.2 being used in ps1 extra scripts
  • [Linux] upgrades SCVMM agent to version 1.0.3.1026
  • minor logic fixed in scripts, making them more verbose

Version 1.2.0 2020-01-22

  • [BREAKING CHANGE] Windows Server 2019 Standard and Datacenter are supported as templates now
  • [BREAKING CHANGE] Switched from cmd into powershell
  • [Extra] reworked scripts (try/catch loops)
  • [Windows] added vagrant templates for Windows Server 2019 Std and Datacenter
  • [Windows] added Windows Server 1909 Std

Version 1.1.0 2019-10-06

  • [BREAKING CHANGE] Windows Server machines (semi-annual editions) are supporting templates now
  • [BREAKING CHANGE] use packer in version not less then 1.4.4
  • [Windows] added Windows Server 1903 Standard
  • [Extra] reworked scripts.
  • obsolete files are now in .archive folder, will be removed when all files will switch to templates

Version 1.0.9 2019-09-30

  • [BREAKING CHANGE] - CentOS Machines now support templating and previous version creation
    • all CentOS deploys now consists of main template file (./templates) and var_file (./variables). This will allow to have more than 'latest' version of releases when needed.
  • [Extra] reworked scripts
  • [CentOS] Upgrade Zabbix repository (4.2)
  • [CentOS] Provision script now supports flags to install or not specific portion of packages.
  • [Windows] Upgrade to dotnetfx chocolatey package (.net 4.8 by default)

Version 1.0.8 2019-05-25

  • switch to packer 1.4 branch - be aware of syntax changes
  • [CentOS] added new deploy - 2 disk machine with separated /var/lib/docker
  • [Extra] changes in scripts
  • [CentOS] added tmux to installed packages

Version 1.0.7 2019-04-29

  • It's the last version before massive changes in packer >= 1.4 branch
  • [Windows] added more variables in Windows templates:
    • vm_name
    • disk_size
    • output_directory
    • secondary_iso_image
  • [Windows] switching secure boot to false as it could be source of problems in some cases
  • [Windows] added Windows Server 2019 Standard as hv_win2019_std_g2
  • [Windows] added Windows Server 2019 Datacenter as hv_win2019_dc_g2
  • [Windows] reworked phase-1.ps1 script to recognise Windows version and adjust proper config for it
  • [Windows] reworked phase-1.ps1 removed Spectre/Meltdown mitigations entries
  • [Docs]information How to adjust autounattended.xml when using different image now added to all Windows Templates.
  • [CentOS] added reboot after provisioning, which fixes neofetch config not being present during its customisation phase
  • [CentOS] added extra templates to make vagrant boxes from created images
  • [Extra] changes in scripts
  • [Vagrant] experimental support for Vagrant images (CentOS 7.6 added)

Version 1.0.6 2018-12-11

  • [Windows] added Windows Server 1809 as hv_win2016_1809_g2.json
  • [Windows] removed Windows Server 1709 as obsoleted
  • [Windows] lock puppet-agent on version 5.5.8
  • [Windows] set Disable-WindowsErrorReporting for Windows based machines
  • [CentOS] added CentOS 7.6 as hv_centos76_g2.json
  • [CentOS] remove port 8140 from firewalld configuration
  • [CentOS] change zabbix repository to version 4.x (agents won't work with Zabbix server below 4.x)
  • [CentOS] added log cleaning/rotating after build
  • [CentOS] upgraded SCVMM agent to version 1.0.3.1022. For older SCVMM older agent (1.0.2) is also available
  • [Windows] added phase5b-docker.ps1 for Windows's based docker. You can choose which version you'll require inside the script. Also, if $installCompose = $true is true, docker-compose will also be installed

Version 1.0.5 2018-10-03

  • updated extra
  • tested with packer 1.3.0/1.3.1/1.3.2-dev
  • [CentOS] removed hv_centos74_g2
  • [Windows] added support for Windows Server 1803 Edition (Standard)
  • [Windows] workarounded hashicorp/packer#6733 by using pause_before and restart_check_command
  • [Windows] removed hv_win2016_g1

Version 1.0.4 2018-05-21

  • fixed some inconsistency in extra scripts when creating registry entries
  • [Windows] fixed boostrap.ps1 for Windows based machines (inproper output for network list)
  • [CentOS] fixes in CentOS 'provision.sh to include proper config for neofetch
  • [CentOS] switch to neofetch, reworked motd.sh to use neofetch with config (instead of defaults)
  • [CentOS] added screen as essential package for CentOS
  • added azure-placeholder.sh for Azure-related CentOS machines
  • switched to packer 1.2.3
  • added disk_block_size with 1 MiB for Linux/CentOS machines

Version 1.0.3 2018-02-23

  • BREAKING FEATURE - preparing switching to submodules/subtree for ./scripts and ./files - to share common code with other providers
  • tree structure in ./scripts and ./files, moved to ./extras
  • [Windows] adding phase-3.ps1 script to put less generic stuff there. Just uncomment line with exit to get rid of it
  • [Windows] added support for Windows Server 1709 Edition (Standard)
  • [Windows] remove some clutter from bootstrap.ps1
  • [Windows] added exit 0 for most of the scripts as some external commands were leaving packer with non-zero exit codes
  • [CentOS] added zeroing.sh script to make compacting more efficient
  • [CentOS] reworked bug with UEFI - this time after deploying from image you can run sscript /usr/local/bin/uefi.sh which will recheck and readd CentOS UEFI entries. For SCVMM deployments (which separates vhdx from vmcx) use RunOnce
  • [CentOS] removed clutter from provision.sh
  • [CentOS] removed screenfetch, replaced with neofetch
  • [CentOS] reworked motd.sh in /etc/profile.d to reflect .Xauthority existence

Version 1.0.2 2017-12-17

  • workaround for PS module PSWindowsUpdate in Windows Templates
  • added nmon, jq and sssd-libwebclient to CentOS 7.4 template
  • added temp_path in templates to point creation of VMs to current script's folder
  • tested with packer 1.1.3
  • added variable vlan_id
  • added variable switch_name
  • resized OS images to 70GB (Windows)
  • sector-size change in PS cleaning script (from 64k to 4MB - double the speed)

Version 1.0.1

  • documentation fixes

Version 1.0.0

  • initial release for github

prerelease versions

  • serious bug with UEFI partitioning in CentOS 7.x generation 2 - Unable to find \EFI\BOOT\grubx64.efi https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/02/11/copying-the-vhd-of-a-generation-2-linux-vmand-not-booting-afterwards/
  • disabled libvirtd in CentOS 7.4 template
  • added support for SystemCenter VMM Linux Agent for CentOS Gen 2 machines - it's required in case of per-template deployment
  • changed firewalld default configuration
    • default zone set from public to work
    • default set of rules for zone 'work'
    • assigning interface eth0 to zone work
    • remove excessive logging for
  • changed /etc/profile.d/motd.sh to adjust missing XAUTHORITY variable
  • made files more generic, removed company's related terms
  • added adcli and krb5-workstation packages for CentOS 7.x image
  • added CentOS 7.4 Gen 2 template hv_centos74_g2
  • removed vlan_id and switch_name settings - revert to default ones for repository to be more generic.
  • fixed cmd scripts with Windows current catalog syntax.
  • added CentOS 7.4 Gen 2 template hv_centos74_g2
  • removed vlan_id and switch_name settings - revert to default ones for repository to be more generic.
  • fixed cmd scripts with Windows current catalog syntax.
  • added cmd scripts for Windows deployment
  • initial build