Add Redhat subscription manager credentials;Replace iso
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-04-21 17:35:27 +02:00
parent bb0c1c5837
commit 7f15853393
2 changed files with 10 additions and 5 deletions

View File

@ -33,15 +33,20 @@ steps:
- |
mv -fv ./output/**/*.ova /output
environment:
IB_OVFTOOL: true
IB_OVFTOOL_ARGS: --allowExtraConfig
PACKER_FLAGS: -on-error=ask
PACKER_VAR_FILES: /tmp/extra_vars.json
REPO_USERNAME:
from_secret: repo_username
REPO_PASSWORD:
from_secret: repo_password
RHSM_USER:
from_secret: rhsm_username
RHSM_PASS:
from_secret: rhsm_password
VSPHERE_PASSWORD:
from_secret: vsphere_password
IB_OVFTOOL: true
IB_OVFTOOL_ARGS: --allowExtraConfig
PACKER_VAR_FILES: /tmp/extra_vars.json
volumes:
- name: output
path: /output

View File

@ -9,9 +9,9 @@
"epel_rpm_gpg_key": "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8",
"guest_os_type": "rhel8-64",
"http_directory": "./packer/ova/linux/{{user `distro_name`}}/http/",
"iso_checksum": "47E5DBB37B5970F583D0852973AF86CC1B522EE1F1E2374C59204583C14717FA",
"iso_checksum": "A6A7418A75D721CC696D3CBDD648B5248808E7FEF0F8742F518E43B46FA08139",
"iso_checksum_type": "sha256",
"iso_url": "https://{{ user `repo_username` }}:{{ user `repo_password` }}@sn.itch.fyi/Repository/iso/Redhat/rhel-8.7-x86_64-boot.iso",
"iso_url": "https://{{ user `repo_username` }}:{{ user `repo_password` }}@sn.itch.fyi/Repository/iso/Redhat/rhel-8.7-x86_64-dvd.iso",
"os_display_name": "RHEL 8",
"redhat_epel_rpm": "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm",
"shutdown_command": "shutdown -P now",