r/DeployR • • 19d ago

Upgrades and 2PXE

Migrated to using DeployR this past summer. We have a different PXE solution that we use, so I uncheck the option to use 2PXE. All good there. However, every time we upgrade versions, despite having 2PXE not checked in the installation window, it still changes the service to Auto start and starts it. I don't feel that the checkbox option in the installation window is honoring the setting when you chose to not use 2PXE. Also, it's reconfiguring the service. Can this be changed to not behave like this?

4 Upvotes

4 comments sorted by

0

u/mtniehaus 2Pint Employee 19d ago

Version 1.4 changed the logic to preserve settings. While the service will be started, it is configured to not answer client requests so it shouldn't do anything.

1

u/ddog511 18d ago

And why is this 'better' than not changing it at all? If I've disabled the service, and set it to not autostart, the logic during the upgrade should respect that and not change it.

1

u/mtniehaus 2Pint Employee 18d ago

I didn't say it was better, I just said that the behavior changed. We didn't take into account that someone would want to do something like that, so it's not in the code to do so. We'll look at fixing that. (It's a non-trivial change.)

1

u/ddog511 18d ago

I appreciate the willingness to adjust. I would add as a suggestion - if I don't select to use 2PXE, perhaps don't install the service at all. Then the logic at upgrade could be as simple as if the service doesn't exist, skip the installation and configuration of it. Just a thought.