ocp/centos.yaml.md
... ...
@@ -39,6 +39,9 @@ spec:
39 39
- disk:
40 40
bus: virtio
41 41
name: datavolumedisk1
42
+ - disk:
43
+ bus: virtio
44
+ name: cloudinitdisk
42 45
machine:
43 46
type: ""
44 47
resources:
... ...
@@ -52,5 +55,12 @@ spec:
52 55
- dataVolume:
53 56
name: centos-dv
54 57
name: datavolumedisk1
58
+ - cloudInitNoCloud:
59
+ userData: |-
60
+ #cloud-config
61
+ user: cloud-user
62
+ password: bpq1-qx5d-khjg
63
+ chpasswd: { expire: False }
64
+ name: cloudinitdisk
55 65
56 66
```
... ...
\ No newline at end of file