[k8master]: Install nc cmd for k8s master network issue debug (#16745)
This commit is contained in:
parent
2afd3829ad
commit
bca2ce25ef
@ -297,7 +297,7 @@ then
|
||||
install_kubernetes ${MASTER_KUBERNETES_VERSION}
|
||||
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted netcat
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove gnupg
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/cri-dockerd.deb -fsSL \
|
||||
https://github.com/Mirantis/cri-dockerd/releases/download/v${MASTER_CRI_DOCKERD}/cri-dockerd_${MASTER_CRI_DOCKERD}.3-0.debian-${IMAGE_DISTRO}_amd64.deb
|
||||
|
@ -40,7 +40,7 @@ if [ -f $first_boot_flag_file ]; then
|
||||
fi
|
||||
touch $first_boot_flag_file
|
||||
|
||||
# execute entrance script
|
||||
# Execute entrance script
|
||||
init_file_name="entrance.sh"
|
||||
init_file=${mount_point}/${init_file_name}
|
||||
chmod +x $init_file
|
||||
|
Loading…
Reference in New Issue
Block a user