Article 5RXD9 Batch Script

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.latest?d=yIl2AUoC8zA latest?i=cIg_dMDN9Mw:OKJ2UqpLYsk:F7zBnMy latest?i=cIg_dMDN9Mw:OKJ2UqpLYsk:V_sGLiP latest?d=qj6IDK7rITs latest?i=cIg_dMDN9Mw:OKJ2UqpLYsk:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments