removed incorrect command stage

Signed-off-by: Piyush Kumar <k17piyush@gmail.com>
This commit is contained in:
Piyush Kumar
2024-02-14 16:29:36 +05:30
parent 216f3ab319
commit 5fff32b998
2 changed files with 1 additions and 2 deletions

View File

@@ -105,7 +105,6 @@ func clusterProvider(cluster clusterplugin.Cluster) yip.YipConfig {
importStage = yip.Stage{
Commands: []string{
"chmod +x /opt/import.sh",
fmt.Sprintf("/bin/sh /opt/rke2/scripts/import.sh %s > /var/log/import.log", cluster.LocalImagesPath),
},
If: fmt.Sprintf("[ -d %s ]", cluster.LocalImagesPath),