Skip to content

Commit

Permalink
🐛 Add yaml extension to temp file created by webui (#1260)
Browse files Browse the repository at this point in the history
Add yaml extension to temp file created by webui

Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed Apr 6, 2023
1 parent 3ec7010 commit 4d16878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webui/webui.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func Start(ctx context.Context) error {
args = append(args, "--device", installationDevice)

// create tempfile to store cloud-config, bail out if we fail as we couldn't go much further
file, err := os.CreateTemp("", "install-webui")
file, err := os.CreateTemp("", "install-webui-*.yaml")
if err != nil {
log.Fatalf("could not create tmpfile for cloud-config: %s", err.Error())
}
Expand Down

0 comments on commit 4d16878

Please sign in to comment.