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 f46f4bb commit 41b095fCopy full SHA for 41b095f
internal/namespaces/baremetal/v1/custom_server_create.go
@@ -25,6 +25,8 @@ func serverCreateBuilder(c *core.Command) *core.Command {
25
Tags []string `json:"tags"`
26
// Type of the server
27
Type string
28
+ // Installation configuration
29
+ Install *baremetal.CreateServerRequestInstall
30
}
31
32
c.ArgsType = reflect.TypeOf(baremetalCreateServerRequestCustom{})
@@ -53,6 +55,10 @@ func serverCreateBuilder(c *core.Command) *core.Command {
53
55
Tags: tmpRequest.Tags,
54
56
57
58
+ if tmpRequest.Install != nil {
59
+ request.Install = tmpRequest.Install
60
+ }
61
+
62
// We need to find the offer ID.
63
// While baremetal does not have list offer name filter we are forced to iterate
64
// on the list of offers provided.
0 commit comments