Open austinried opened 3 days ago
running
and wait_for_network
defaults to true
already.
I had this problem with old versions a couple of weeks/months ago.
Could you check if you're using an up2date incus server, incus client and terraform provider?
Trying to create a new virtual machine that includes a
file
block but it keeps failed and saying the instance is not running:This file block works fine with
container
type instances, only fails like this for avirtual-machine
type. When I check the incus host, I find that the instance is indeed not running. However, after a manualincus start wg-home
it appears to be running without issue (but without my authorized_keys that I wanted to copy over during creation).Here's a snippet from my instance module, where I am setting what I think should cause the instance to automatically start when created:
Is this my issue or a bug? I don't know why for virtual machines it's not auto-starting for VMs but it is for containers.