Advertise HTTPS in IPA ramdisk without Ironic assist

Before this change, Ironic was required to send
`ipa-advertise-protocol=https` with pxe parameters to make this
code work.

Instead, ensure we *always* advertise https, via static ramdisk
configuration, when TLS is enabled.

Change-Id: I1c0bc85aefe592a2a614f60112a8982e0f03fcf7
This commit is contained in:
Jay Faulkner 2020-09-18 09:36:56 -07:00
parent 69e41ff761
commit 0cc5ba8d72
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ fi
cat <<EOF | sudo tee $CONFFILE
[DEFAULT]
listen_tls = True
advertise_protocol = https
[ssl]
cert_file = $INSIDEDIR/agent.crt