Linux join command on startup

I have successfully joined my GCP Linux VM to my ZeroTier network. This is a lab device that I frequently shut down. Is there a way to automatically run the join command when I start up the VM? Thanks!

It should behave that way automatically. Joined networks are saved in /var/lib/zerotier-one/networks.d if you want to take a look.

1 Like