Skip to content

Commit 15c7fe5

Browse files
GokceGKjoaopalet
andauthored
Update internal/cmd/beta/server/create/create.go
Co-authored-by: João Palet <joao.palet@outlook.com>
1 parent a5800b9 commit 15c7fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/beta/server/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
106106
),
107107
examples.NewExample(
108108
`Create a server with user data (cloud-init)`,
109-
`$ stackit beta server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 --user-data file("${path.module}/cloud-init.yaml")`,
109+
`$ stackit beta server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 --user-data @path/to/file.yaml")`,
110110
),
111111
),
112112
PreRun: func(cmd *cobra.Command, _ []string) {

0 commit comments

Comments
 (0)