Skip to content

Commit

Permalink
testing with more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
djsly committed Oct 20, 2024
1 parent f692b73 commit 46b9aa5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ while IFS= read -r p; do
installStandaloneContainerd "${version}"
fi
echo " - containerd version ${version}" >> ${VHD_LOGS_FILEPATH}
# k8s will use images in the k8s.io namespaces - create it
ctr namespace create k8s.io
done
;;
"oras")
Expand Down Expand Up @@ -356,8 +354,11 @@ enable_containerd_discard_unpacked_layers() {
containerd_config_file="/etc/containerd/config.toml"
mkdir -p /etc/containerd
containerd config default > ${containerd_config_file}
cat ${containerd_config_file}
sed -i 's/enable_unpacked_layers = false/enable_unpacked_layers = true/g' ${containerd_config_file}
cat ${containerd_config_file}
systemctl restart containerd
systemctl status containerd
}

disable_containerd_discard_unpacked_layers() {
Expand Down

0 comments on commit 46b9aa5

Please sign in to comment.