We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5800b9 commit 15c7fe5Copy full SHA for 15c7fe5
internal/cmd/beta/server/create/create.go
@@ -106,7 +106,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
106
),
107
examples.NewExample(
108
`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")`,
+ `$ 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")`,
110
111
112
PreRun: func(cmd *cobra.Command, _ []string) {
0 commit comments