-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add build-packer-templates.yaml to test
- Loading branch information
Showing
47 changed files
with
1,083 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
FROM hashicorp/packer:light | ||
|
||
RUN apk add --update qemu qemu-system-x86_64 qemu-img openssh python3 py3-pip samba | ||
|
||
RUN packer plugins install github.com/hashicorp/ansible | ||
|
||
RUN packer plugins install github.com/hashicorp/qemu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
- hosts: localhost | ||
gather_facts: yes | ||
vars: | ||
packer_templates_dir: ./ | ||
destination_server: download.goffinet.org | ||
images: | ||
- type: "redhat" | ||
flavor: "almalinux" | ||
version: "9.4" | ||
iso_url: "https://repo.almalinux.org/almalinux/9.4/isos/x86_64" | ||
iso_name: "AlmaLinux-9.4-x86_64-boot.iso" | ||
checksum_filename: "CHECKSUM" | ||
- type: "redhat" | ||
flavor: "centos" | ||
version: "9" | ||
iso_url: "https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso" | ||
iso_name: "CentOS-Stream-9-20241016.0-x86_64-boot.iso" | ||
checksum_filename: "SHA256SUM" | ||
- type: "redhat" | ||
flavor: "fedora" | ||
version: "40" | ||
iso_url: "https://fedora.cu.be/linux/releases/40/Server/x86_64/iso/" | ||
iso_name: "Fedora-Server-netinst-x86_64-40-1.14.iso" | ||
checksum_filename: "Fedora-Server-40-1.14-x86_64-CHECKSUM" | ||
- type: "debian" | ||
flavor: "ubuntu" | ||
version: "20.04" | ||
iso_url: "http://releases.ubuntu.com/20.04" | ||
iso_name: "ubuntu-20.04.6-live-server-amd64.iso" | ||
checksum_filename: "SHA256SUMS" | ||
- type: "debian" | ||
flavor: "ubuntu" | ||
version: "22.04" | ||
iso_url: "http://releases.ubuntu.com/22.04" | ||
iso_name: "ubuntu-22.04.5-live-server-amd64.iso" | ||
checksum_filename: "SHA256SUMS" | ||
- type: "debian" | ||
flavor: "ubuntu" | ||
version: "24.04" | ||
iso_url: "http://releases.ubuntu.com/24.04" | ||
iso_name: "ubuntu-24.04.1-live-server-amd64.iso" | ||
checksum_filename: "SHA256SUMS" | ||
pre_tasks: | ||
- name: Create packer-templates directory | ||
file: | ||
dest: "{{ packer_templates_dir }}" | ||
state: directory | ||
roles: | ||
- name: Create packer-templates | ||
role: build-packer-templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.