diff --git a/cmd/extend.go b/cmd/extend.go index 8410ae71f7e08ae63d2a88fe7231fb7b8640c340..035e4ac03beb88152546e497d2cc205fb595c0b9 100755 --- a/cmd/extend.go +++ b/cmd/extend.go @@ -116,7 +116,9 @@ func extendCluster(conf *asset.ClusterAsset, num uint) error { } } - httpService.AddFileToCache(constants.WorkerIgn, data) + if len(conf.Kubernetes.RpmPackagePath) > 0 { + httpService.PackageDir = conf.Kubernetes.RpmPackagePath + } p := infra.InfraPlatform{} switch strings.ToLower(conf.Platform) {