Skip to content

Commit 2f588c1

Browse files
authored
Merge pull request #662 from jichenjc/add_root_volume
Add root volume support (put root volume into instance create param)
2 parents 3af3b08 + 25faeb6 commit 2f588c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cloud/services/compute/instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func (s *Service) InstanceCreate(clusterName string, machine *clusterv1.Machine,
7979
Metadata: openStackMachine.Spec.ServerMetadata,
8080
ConfigDrive: openStackMachine.Spec.ConfigDrive,
8181
FailureDomain: *machine.Spec.FailureDomain,
82+
RootVolume: openStackMachine.Spec.RootVolume,
8283
}
8384

8485
if openStackMachine.Spec.Trunk {

0 commit comments

Comments
 (0)