Merge pull request #58 from kairos-io/script-fix

removed incorrect command stage
This commit is contained in:
Santhosh 2024-02-15 13:04:52 +05:30 committed by GitHub
commit 99763c93a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ARG BASE_IMAGE=quay.io/kairos/core-opensuse-leap:v2.3.2
ARG IMAGE_REPOSITORY=quay.io/kairos
ARG LUET_VERSION=0.34.0
ARG GOLINT_VERSION=v1.52.2
ARG GOLINT_VERSION=v1.55.2
ARG GOLANG_VERSION=1.21
ARG RKE2_VERSION=latest

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),