Adding additional hosts script in Moonraker install doesn't append to moonraker.conf #17

Closed
opened 2020-09-16 22:00:04 +02:00 by tumbleweedlabs · 2 comments
tumbleweedlabs commented 2020-09-16 22:00:04 +02:00 (Migrated from github.com)

Tested with both IPV6 and IPV4 addresses. Neither were appended to moonraker.conf. Example photos can be seen here: https://imgur.com/a/MAMrWcr

Expected behavior: The script indicates as many IP addresses as desired may be added and when finished, type done. Then the IP addresses should be appended to the moonraker.conf file.

Exhibited behavior: Entering one IP address and striking return continues the script with no option to add more. IP address entered is not appended.

Tested with both IPV6 and IPV4 addresses. Neither were appended to moonraker.conf. Example photos can be seen here: https://imgur.com/a/MAMrWcr Expected behavior: The script indicates as many IP addresses as desired may be added and when finished, type done. Then the IP addresses should be appended to the moonraker.conf file. Exhibited behavior: Entering one IP address and striking return continues the script with no option to add more. IP address entered is not appended.
dw-0 commented 2020-09-16 22:20:25 +02:00 (Migrated from github.com)

Thanks for reporting.
An additional break sneaked into the wrong section of the script.
Fixed.

Thanks for reporting. An additional `break` sneaked into the wrong section of the script. Fixed.
tumbleweedlabs commented 2020-09-16 22:23:28 +02:00 (Migrated from github.com)

You're the best.

You're the best.
Sign in to join this conversation.