Hi,
Is it possible to start for example a firewall vm. Wait till its fully started and the start pther containers and vm?.
So wait till the fw is fully started and then continue starting other machines.
Hi,
Is it possible to start for example a firewall vm. Wait till its fully started and the start pther containers and vm?.
So wait till the fw is fully started and then continue starting other machines.
Hello!
These are the boot options for instances. You will likely need to experiment with boot.autostart.priority
. There’s a priority in starting the instances but I do not think there is a check to see whether an instance has finished booting up, or the services are up and running.
When you use a firewall, it’s important to setup your containers in a way that if the necessary interface is not there, then there is not network connectivity yet.
I have another way to do this, but you need to write script.
First, you need to know firewall instance state:
incus query --request GET /1.0/instances/<instance_name>/state
If it’s “Running”. Then you can start other instances:
incus query --request PUT /1.0/instances/<instance_name>/state --data {"action":"start"}
But if you didn’t manual stop instances before you shutdown your computer, they will ignore the cmd.