Last active
January 26, 2023 15:41
-
-
Save Erdack54/43ff18286ac315c08674f9b056efd935 to your computer and use it in GitHub Desktop.
Stop&Disable: "google-guest-agent" & "google-guest-agent" on Google VM (console.cloud.google.com)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
## Stop&Disable: "google-guest-agent" & "google-guest-agent" on Google VM (console.cloud.google.com) | |
## Usage: sh <(curl https://gist.githubusercontent.com/Erdack54/43ff18286ac315c08674f9b056efd935/raw/79bd9f0a3a4eb038577aaa97fabff55729d9e90b/disable-google-agent.sh || wget -O - https://gist.githubusercontent.com/Erdack54/43ff18286ac315c08674f9b056efd935/raw/79bd9f0a3a4eb038577aaa97fabff55729d9e90b/disable-google-agent.sh) | |
# | |
systemctl stop google-osconfig-agent | |
systemctl disable google-osconfig-agent | |
systemctl stop google-guest-agent | |
systemctl disable google-guest-agent | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment