Fixed Debian13 containers being unable to start after upgrade
* This was caused by outdated SystemD generator, this file will be updated when upgrading the container
This commit is contained in:
@@ -60,6 +60,15 @@ if $DoDebianReleaseUpdate; then
|
||||
* ) echo "Choose yes or no.";;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "${NewDebianVersion}" = "trixie" ]; then
|
||||
curl -o /tmp/lxc.generator "https://raw.githubusercontent.com/lxc/distrobuilder/refs/heads/main/distrobuilder/lxc.generator"
|
||||
# Check if the download was successful
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Downloading of lxc.generator from github failed. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if $DoAlpineReleaseUpdate; then
|
||||
echo "Enter the Alpine version to upgrade to"
|
||||
|
||||
Reference in New Issue
Block a user