Closed m-ueberall closed 1 year ago
Hello, i would like work on this issue for my first contribution.
@Anis-cpu-13 thanks!
@tomponline Hi, I noticed that you created an issue regarding the error "Failed detecting root disk device: No root device could be found" when trying to create an LXD instance with the command "lxc init ubuntu:22.04 c01 << EOF". Could you please provide more details on your setup and any additional steps you may have taken to troubleshoot the issue? Thank you. and this is command : /lxd-test$ lxc init ubuntu:22.04 c01 << EOF config: boot.autostart: "true" boot.autostart.priority: "5" raw.idmap: |- uid 500 500 gid 4 4 devices: pbuilder: optional: "true" path: /REDACTED source: /REDACTED type: disk profiles:
lxd version 5.11
@Anis-cpu-13 please take a look at https://linuxcontainers.org/lxd/docs/master/howto/initialize/
Required information
Issue description
When specifying the
description
of a container using a YAML configuration file withlxc init|launch
, it gets ignored.Steps to reproduce
Use a YAML configuration as documented in the
lxc init|launch --help
examples (it does not matter whether it's a temporary Heredoc or an existing file; moving thedescription
aboveprofiles
also has no effect whatsoever, so it's not a case of the last line being ignored):Output:
Everything but the above description has been picked up: