Install parted package for k8s master (#16484)
### Why I did it Need a tool to extend disk size ##### Work item tracking - Microsoft ADO **(number only)**: 25094467 #### How I did it Install parted package #### How to verify it Use apt list parted command to check if it's installed
This commit is contained in:
parent
2f69a0eaa6
commit
4f53819efa
@ -296,7 +296,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
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted
|
||||
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
|
||||
|
@ -33,7 +33,7 @@ disk="${disk_by_path_dir}/${disk_path_file}"
|
||||
mkdir -p $mount_point
|
||||
mount $disk $mount_point
|
||||
|
||||
# check whether it is the first time to boot
|
||||
# Check whether it is the first time to boot
|
||||
first_boot_flag_file="/from_host/first_boot_flag"
|
||||
if [ -f $first_boot_flag_file ]; then
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user