From 136226ce32ae7616836c7a218fda6c5fd0c2c598 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Fri, 21 Apr 2023 14:55:33 +0200 Subject: [PATCH] Switch to cdrom for kickstart script --- packer/ova/packer-node.json | 2 ++ packer/ova/rhel-8.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packer/ova/packer-node.json b/packer/ova/packer-node.json index 6ed98a8..3ac23b6 100644 --- a/packer/ova/packer-node.json +++ b/packer/ova/packer-node.json @@ -188,6 +188,8 @@ ], "boot_wait": "{{user `boot_wait`}}", "cluster": "{{user `cluster`}}", + "cd_files": ["{{user `http_directory`}}"], + "cd_label": "OEMDRV", "communicator": "ssh", "convert_to_template": "{{user `convert_to_template`}}", "cpu_cores": "{{user `cpu_cores`}}", diff --git a/packer/ova/rhel-8.json b/packer/ova/rhel-8.json index 00f71d7..c87c498 100644 --- a/packer/ova/rhel-8.json +++ b/packer/ova/rhel-8.json @@ -1,7 +1,7 @@ { - "boot_command_prefix": " text ip=dhcp inst.ks=", + "boot_command_prefix": " text inst.ks=", "boot_command_suffix": "/8/ks.cfg", - "boot_media_path": "http://{{ .HTTPIP }}:{{ .HTTPPort }}", + "boot_media_path": "cdrom:", "build_name": "rhel-8", "distro_arch": "amd64", "distro_name": "rhel",