Skip to content

Commit 4f53819

Browse files
authored
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
1 parent 2f69a0e commit 4f53819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ then
296296
install_kubernetes ${MASTER_KUBERNETES_VERSION}
297297

298298
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
299-
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet
299+
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted
300300
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove gnupg
301301
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/cri-dockerd.deb -fsSL \
302302
https://github.com/Mirantis/cri-dockerd/releases/download/v${MASTER_CRI_DOCKERD}/cri-dockerd_${MASTER_CRI_DOCKERD}.3-0.debian-${IMAGE_DISTRO}_amd64.deb

files/image_config/kubernetes/kubernetes_master_entrance.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ disk="${disk_by_path_dir}/${disk_path_file}"
3333
mkdir -p $mount_point
3434
mount $disk $mount_point
3535

36-
# check whether it is the first time to boot
36+
# Check whether it is the first time to boot
3737
first_boot_flag_file="/from_host/first_boot_flag"
3838
if [ -f $first_boot_flag_file ]; then
3939
exit 0

0 commit comments

Comments
 (0)