-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninstall fleetd remotely #27024
base: main
Are you sure you want to change the base?
Uninstall fleetd remotely #27024
Conversation
- Update guide to cater towards IT admins that have remote access (not physical)
… noahtalerman-patch-24
# Please don't delete. This script is referenced in the guide here: https://fleetdm.com/guides/how-to-uninstall-fleetd | ||
|
||
#!/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@allenhouchins do you know what happens if I add a comment like this before the shebang? Will this "just work"?
Hmm, it looks like the @allenhouchins when you get the chance, can you please run the script on an enrolled Linux host to help me check?
|
AFAICS, similarly to the macOS script, the script has to run asynchronously otherwise the script itself may be killed at the first |
@lucasmrod dang. Does this mean we can't run these macOS & Linux scripts from Fleet to remove fleetd from hosts? |
Scripts PS: Also there's some duplication of scripts in PSS: For Windows it seems we have two scripts, one for removing fleetd (scripts/mdm/windows/windows-remove-fleetd.ps1) and one for unenrolling the device from the MDM server (scripts/mdm/windows/windows-unenroll-mdm.ps1), maybe it should all be put in the remove one?. |
Ah, got it. Marking this PR as draft until we figure this out.
I saw that! But chose to wait to deduplicate to change less now. But now I'm thinking you, Lucas, and I can hop on a call to figure that out. I scheduled some time for us next week.
I think we can come back to this. That said, I also think we can move these to |
@noahtalerman there are quite a few changes I'll want to make before putting these in our |
For the following dogfood issue: fleetdm/confidential#9685
orbit/
toit-and-security
(dogfood) because we're not using these anywhere else in the code