Skip to content

Commit 3258689

Browse files
author
Bogdan Despotov
committed
Bug fixes and update to README
1 parent c304de4 commit 3258689

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ If you encounter any troubles, activate the debug mode with `docker-machine --de
4242
| --------------------------- | ------------------------- | -------------------------------------- |
4343
| `--cloudsigma-api-location` | `CLOUDSIGMA_API_LOCATION` | `zrh` |
4444
| `--cloudsigma-cpu` | `CLOUDSIGMA_CPU` | `2000` |
45+
| `--cloudsigma-cpu-type` | `CLOUDSIGMA_CPU_TYPE` | `intel` |
4546
| `--cloudsigma-cpu-epc-size` | `CLOUDSIGMA_CPU_EPC_SIZE` | - |
4647
| `--cloudsigma-drive-size` | `CLOUDSIGMA_DRIVE_SIZE` | `20` |
4748
| `--cloudsigma-drive-uuid` | `CLOUDSIGMA_DRIVE_UUID` | `6fe24a6b-b5c5-40ba-8860-771044d2500d` |

api/servers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ type ServerAction struct {
6868

6969
type AttachDriveRequest struct {
7070
CPU int `json:"cpu"`
71+
CPUType string `json:"cpu_type"`
7172
Drives []ServerDrive `json:"drives"`
7273
Memory int `json:"mem"`
7374
Name string `json:"name"`

cloudsigma.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ func (d *Driver) createServer() (*api.Server, error) {
398398

399399
attachDriveRequest := &api.AttachDriveRequest{
400400
CPU: server.CPU,
401+
CPUType: server.CPUType,
401402
Drives: []api.ServerDrive{
402403
{BootOrder: 1, DevChannel: "0:0", Device: "virtio", DriveUUID: d.DriveUUID},
403404
},

0 commit comments

Comments
 (0)