Skip to content
Snippets Groups Projects
Commit 807f447c authored by Valentin Bruch's avatar Valentin Bruch
Browse files

removed "ubiquity/keep-installed" from preseed

Old keep-install command leads to installation of ALL packages during
the installation when "download updates while installing" is selected.
parent aa374fbe
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ fill_grub_config_template "$img2" "$workspace/part_files/boot/grub/grub.cfg"
#./create_offlinerepo.sh "$workspace/part_files/archives" "$img1" $(grep '^[^#]' packages | cut -d'|' -f 2)
#./create_offlinerepo.sh "$workspace/part_files/archives" "$img2" $(grep '^[^#]' packages | cut -d'|' -f 2)
cp packages "$workspace/part_files/packages"
echo "ubiquity ubiquity/keep-installed string $(grep '^[^#]' packages | cut -d'|' -f 2 | tr '\n' ' ')" >> "$workspace/part_files/preseed/lip.seed"
# The following command is dangerous: If offline repo is missing and "download updates while installing" is selected (default), this will install ALL listed packages during the installation.
#echo "ubiquity ubiquity/keep-installed string $(grep '^[^#]' packages | cut -d'|' -f 2 | tr '\n' ' ')" >> "$workspace/part_files/preseed/lip.seed"
rm -f "$workspace/part.img"
truncate -s "$image_size" "$workspace/part.img"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment