Hey folks,
I’m trying to boot a VM with the following configuration:
task "runner" {
driver = "qemu"
config {
image_path = "local/ci.qcow2"
graceful_shutdown = true
args = ["-no-user-config"]
}
artifact {
source = "s3::http://lightsoutgames-minio-minio-minio.service.consul:9000/vms/ci.qcow2.bz2"
destination = "local/ci.qcow2"
mode = "file"
options {
...
}
}
resources {
cpu = 2000
memory = 4000
}
}
The VM downloads and qemu-system-x86_64 tries to launch it, but complains that no bootable devices were found.
There’s a lot that could be going on here, but to start troubleshooting, I’d really like to see the full command line Nomad is trying to run this VM with. I poked around in the cmdline file for the relevant process in /proc, but either it is incomplete or isn’t displaying fully on the console.
Is there any way I can get the full command line so I can tweak it until it works? Or additionally, is anything obviously wrong with my config? I did convert this VM image from VMWare, so it’s possible I messed something up with that. But Nomad is definitely passing in more command line args than I’ve specified, so I think my first step is to figure out exactly what it sends along.
Thanks.