Skip to content

Commit 4964976

Browse files
committed
PE-3373: waiting for content extraction
Signed-off-by: Arun Sharma <[email protected]>
1 parent ff0bbca commit 4964976

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

main.go

+16-9
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,24 @@ func clusterProvider(cluster clusterplugin.Cluster) yip.YipConfig {
113113
stages = append(stages, importStage)
114114
}
115115

116-
stages = append(stages, yip.Stage{
117-
Name: "Enable Systemd Services",
118-
Systemctl: yip.Systemctl{
119-
Enable: []string{
120-
systemName,
121-
},
122-
Start: []string{
123-
systemName,
116+
stages = append(stages,
117+
yip.Stage{
118+
Name: "Waiting to finish extracting content",
119+
Commands: []string{
120+
"sleep 120",
124121
},
125122
},
126-
})
123+
yip.Stage{
124+
Name: "Enable Systemd Services",
125+
Systemctl: yip.Systemctl{
126+
Enable: []string{
127+
systemName,
128+
},
129+
Start: []string{
130+
systemName,
131+
},
132+
},
133+
})
127134

128135
cfg := yip.YipConfig{
129136
Name: "RKE2 Kairos Cluster Provider",

0 commit comments

Comments
 (0)