Skip to content

Commit

Permalink
lxd/instance/drivers: Include opts.protocol to nameSuffix
Browse files Browse the repository at this point in the history
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
  • Loading branch information
hamistao committed Jun 12, 2024
1 parent 4fb24ef commit 4dec742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/instance/drivers/driver_qemu_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func qemuDriveConfig(opts *qemuDriveConfigOpts) []cfgSection {
dev: opts.dev,
// Devices use "qemu_" prefix indicating that this is a internally named device.
name: "qemu_config",
nameSuffix: "-drive",
nameSuffix: fmt.Sprintf("-drive-%s", opts.protocol),
comment: fmt.Sprintf("Config drive (%s)", opts.protocol),
mountTag: "config",
protocol: opts.protocol,
Expand Down

0 comments on commit 4dec742

Please sign in to comment.