Skip to content

Commit

Permalink
Merge pull request #797 from monstermunchkin/issues/796-build-lxd
Browse files Browse the repository at this point in the history
main: Fix VM builds when using `build-lxd` command
  • Loading branch information
stgraber authored Dec 8, 2023
2 parents 71bd0c9 + e461155 commit 7361953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobuilder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func (c *cmdGlobal) preRunBuild(cmd *cobra.Command, args []string) error {
case "build-lxc":
// If we're running build-lxc, also process container-only sections.
imageTargets |= shared.ImageTargetContainer
case "build-incus":
case "build-incus", "build-lxd":
// Include either container-specific or vm-specific sections when
// running build-incus.
ok, err := cmd.Flags().GetBool("vm")
Expand Down

0 comments on commit 7361953

Please sign in to comment.