From 08cb583bac4280a0d8a7b305d15a7718acdaff99 Mon Sep 17 00:00:00 2001 From: lauk Date: Thu, 27 Jun 2024 09:08:50 +0800 Subject: [PATCH] Add the rpm package storage path to the http service buffer --- cmd/extend.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/extend.go b/cmd/extend.go index 8410ae7..035e4ac 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) { -- Gitee