@@ -207,16 +207,16 @@ var _ = Describe("getControlPlaneRKE2Commands", func() {
207207 It ("should return slice of control plane commands" , func () {
208208 commands , err := getControlPlaneRKE2Commands (baseUserData )
209209 Expect (err ).ToNot (HaveOccurred ())
210- Expect (commands ).To (HaveLen (7 ))
211- Expect (commands ).To (ContainElements (fmt .Sprintf (controlPlaneCommand , baseUserData .RKE2Version ), serverSystemdServices [0 ], serverSystemdServices [1 ]))
210+ Expect (commands ).To (HaveLen (8 ))
211+ Expect (commands ).To (ContainElements (fmt .Sprintf (controlPlaneCommand , baseUserData .RKE2Version ), serverDeployCommands [0 ], serverDeployCommands [1 ]))
212212 })
213213
214214 It ("should return slice of control plane commands with air gapped" , func () {
215215 baseUserData .AirGapped = true
216216 commands , err := getControlPlaneRKE2Commands (baseUserData )
217217 Expect (err ).ToNot (HaveOccurred ())
218- Expect (commands ).To (HaveLen (7 ))
219- Expect (commands ).To (ContainElements (airGappedControlPlaneCommand , serverSystemdServices [0 ], serverSystemdServices [1 ]))
218+ Expect (commands ).To (HaveLen (8 ))
219+ Expect (commands ).To (ContainElements (airGappedControlPlaneCommand , serverDeployCommands [0 ], serverDeployCommands [1 ]))
220220 })
221221
222222 It ("should return error if base userdata is nil" , func () {
@@ -247,16 +247,16 @@ var _ = Describe("getWorkerRKE2Commands", func() {
247247 It ("should return slice of worker commands" , func () {
248248 commands , err := getWorkerRKE2Commands (baseUserData )
249249 Expect (err ).ToNot (HaveOccurred ())
250- Expect (commands ).To (HaveLen (7 ))
251- Expect (commands ).To (ContainElements (fmt .Sprintf (workerCommand , baseUserData .RKE2Version ), workerSystemdServices [0 ], workerSystemdServices [1 ]))
250+ Expect (commands ).To (HaveLen (8 ))
251+ Expect (commands ).To (ContainElements (fmt .Sprintf (workerCommand , baseUserData .RKE2Version ), workerDeployCommands [0 ], workerDeployCommands [1 ]))
252252 })
253253
254254 It ("should return slice of worker commands with air gapped" , func () {
255255 baseUserData .AirGapped = true
256256 commands , err := getWorkerRKE2Commands (baseUserData )
257257 Expect (err ).ToNot (HaveOccurred ())
258- Expect (commands ).To (HaveLen (7 ))
259- Expect (commands ).To (ContainElements (airGappedWorkerCommand , workerSystemdServices [0 ], workerSystemdServices [1 ]))
258+ Expect (commands ).To (HaveLen (8 ))
259+ Expect (commands ).To (ContainElements (airGappedWorkerCommand , workerDeployCommands [0 ], workerDeployCommands [1 ]))
260260 })
261261
262262 It ("should return error if base userdata is nil" , func () {
0 commit comments