add /etc/image-id to centOS

This commit is contained in:
“skkkkkkk”
2022-11-23 18:13:28 +08:00
parent 1c86e9b4ee
commit bade7135ba

View File

@@ -207,6 +207,9 @@ pull_image() {
}
update_os_release() {
if [[ ! -f /etc/image-id ]]; then
touch /etc/image-id
fi
sed -i "s#LTS#LTS ACK-Optimized-OS#" /etc/image-id
}