Batch Script
by mikedelo from LinuxQuestions.org on (#5RXD9)
Hi! I have a desktop computer (running Ubuntu) with Pi-Hole running on a VM. I would like to have the pi-hole VM automatically ran when the desktop computer reboots. Here are the commands I would like to be automatically ran. How do I create a script to run when the desktop boots up?
vboxmanage startvm "pi-hole" --type headless
Then after a short period of time, run the command to update gravity as I notice this needs to be done each time I start the VM.
vboxmanage startvm "pi-hole" --type headless
Then after a short period of time, run the command to update gravity as I notice this needs to be done each time I start the VM.