hv-packer

Hyper-V Generation 2 Packer Templates for Windows 2019/2022, AlmaLinux 8.x/AlmaLinux 9.x/RockyLinux 8.x/9.x/OracleLinux 8.x/9.x Ubuntu 20.04/Ubuntu 22.04/Ubuntu 24.04

Stars
188
Committers
1

Bot releases are hidden (Show)

hv-packer - Defying Gravity Latest Release

Published by marcinbojko 5 months ago

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
hv-packer - 3.0.1 - Slip Away

Published by marcinbojko 11 months ago

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
  • https://github.com/marcinbojko/hv-packer/issues/19 - fixed typo.
hv-packer - 3.0.0 - It must have been love

Published by marcinbojko about 1 year ago

  • [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
hv-packer - 2.0.2 - Bad

Published by marcinbojko about 1 year ago

Codename: BAD - https://www.youtube.com/watch?v=dsUXAEzaC3Q

  • [BREAKING_CHANGE] for packer >= 1.9.0 hyperv-iso module was moved from core to plugins. Proper change was already set in config.pkr.hcl, but you have to remember to run packer init --upgrade config.pkr.hcl before running packer build command

    packer {
    required_plugins {
      windows-update = {
        version = "0.14.1"
        source = "github.com/rgl/windows-update"
    }
      hyperv = {
        version = ">= 1.1.0"
        source  = "github.com/hashicorp/hyperv"
      }
    }
    }
    
  • [Extra] extra scripts and playbooks optimizations

  • [Extra] ks.cgf files for all RHEL 9 clones - switching timezone to UTC during build

  • [Extra] ansible-lint fixes over playbooks

  • [Extra] resized partitions (/boot and /boot/EFI) to fit bigger kernel and initrd files as well as more kernels in Oracle Linux UEK. This will allow for UEK an standard kernels to coexist.

    part /boot/efi --fstype="vfat" --size=400
    
    part /boot --fstype="ext4" --size=2048
    
    part swap --fstype="swap" --size=8192
    
    part / --fstype="ext4" --grow --size=1
    
  • [RockyLinux] added RockyLinux 9.2 support

  • [RockyLinux] added RockyLinux 9.2 Docker support

  • [RockyLinux] added RockyLinux 9.2 Vagrant support

  • [OracleLinux] added OracleLinux 9.2 support

  • [OracleLinux] added OracleLinux 9.2 Docker support

  • [OracleLinux] added OracleLinux 9.2 Vagrant support

  • [AlmaLinux] added AlmaLinux 9.2 support

  • [AlmaLinux] added AlmaLinux 9.2 Docker support

  • [AlmaLinux] added AlmaLinux 9.2 Vagrant support

hv-packer - 2.0.1 - Jedwab

Published by marcinbojko almost 2 years ago

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
hv-packer - 2.0.0 - Patience

Published by marcinbojko almost 2 years ago

  • [BREAKING_CHANGE] Puppet repositories and puppet agent no longer are 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
hv-packer - 1.9.10 - It's a sin

Published by marcinbojko about 2 years ago

  • [Extra] fixes for lacking ansible package in ansible.sh provisioning script
hv-packer - 1.9.9 - Father Time

Published by marcinbojko about 2 years ago

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

Published by marcinbojko over 2 years ago

  • [AlmaLinux] added AlmaLinux 8.6
hv-packer - 1.9.7 - HappyHappyPeople

Published by marcinbojko over 2 years ago

  • 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
hv-packer -

Published by marcinbojko over 2 years ago

  • [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
hv-packer -

Published by marcinbojko over 2 years ago

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

Published by marcinbojko over 2 years ago

  • [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
hv-packer -

Published by marcinbojko over 2 years ago

  • [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
hv-packer -

Published by marcinbojko almost 3 years ago

  • [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
hv-packer -

Published by marcinbojko about 3 years ago

  • [Windows] added Windows Server ver 20H2 support
hv-packer -

Published by marcinbojko about 3 years ago

  • [RockyLinux] added Rocky Linux 8.4 support
  • [RockyLinux] added Rocky Linux 8.4 Docker support
  • [RockyLinux] added Rocky Linux 8.4 Vagrant support
hv-packer -

Published by marcinbojko about 3 years ago

[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 to 2.11 branch

hv-packer -

Published by marcinbojko over 3 years ago

  • [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
hv-packer -

Published by marcinbojko over 3 years ago

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