Mass Deletion of Hosts
Hello fellow FOGGERS,
I was just curious if there was a way to mass delete all hosts in the database. I am wanting to delete all hosts to basically clean up FOG, I have been piggybacking off of previous admins that were here and I and dissatisfied with the way things are. Please let me know! It would be much appreciated!
worked perfectly, thank you good sir!
Tom Elliott last edited by
The easiest method for this is to logon to your mysql server as root. Then type the command:
[code]truncate table hosts;[/code]
That will remove all hosts from the database.