mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-31 18:17:52 +00:00 
			
		
		
		
	[k8master]: Install nc cmd for k8s master network issue debug (#16745)
This commit is contained in:
		| @@ -297,7 +297,7 @@ then | |||||||
|     install_kubernetes ${MASTER_KUBERNETES_VERSION} |     install_kubernetes ${MASTER_KUBERNETES_VERSION} | ||||||
|  |  | ||||||
|     sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update |     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 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 \ |     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 |         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 | fi | ||||||
| touch $first_boot_flag_file | touch $first_boot_flag_file | ||||||
|  |  | ||||||
| # execute entrance script | # Execute entrance script | ||||||
| init_file_name="entrance.sh" | init_file_name="entrance.sh" | ||||||
| init_file=${mount_point}/${init_file_name} | init_file=${mount_point}/${init_file_name} | ||||||
| chmod +x $init_file | chmod +x $init_file | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 lixiaoyuner
					lixiaoyuner