mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
bugfix: fix offline pkg dir error (#2828)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
This commit is contained in:
parent
411d9f0c89
commit
6d6cad84a8
|
|
@ -151,10 +151,10 @@ if [ $? -ne 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Preparing offline package directory..."
|
echo "Preparing offline package directory..."
|
||||||
mkdir -p offline
|
mkdir -p offline/kubekey/kubekey
|
||||||
|
|
||||||
echo "Extracting artifact.tgz to offline/ ..."
|
echo "Extracting artifact.tgz to offline/ ..."
|
||||||
tar -xzf artifact.tgz -C offline/ --no-same-owner
|
tar -xzf artifact.tgz -C offline/kubekey/kubekey --no-same-owner
|
||||||
|
|
||||||
echo "Extracting web-installer.tgz to offline/ ..."
|
echo "Extracting web-installer.tgz to offline/ ..."
|
||||||
tar -xzf web-installer.tgz -C offline/ --no-same-owner
|
tar -xzf web-installer.tgz -C offline/ --no-same-owner
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue