Forcing specific servers at deploy¶
To force the system to allocate specific servers instead of the default server type based allocation, create the infrastructure as usual and use the CLI to specify the server id mapping:
$ metalcloud-cli infrastructure deploy --id test --server-id-mapping "instance-array-617:M8.32v1:15,instance-array-617:M8.32v1:12 "
The format of each triplet is as follows:
This will override the server type that was previously configured on the instance array and will replace it with the specified one and the respective server ids. Note that the size of the instance array and the number of servers specified must match exactly.