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

View File

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