do the update
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Wed, 17 Jul 2013 22:50:55 +0200
changeset 18 3d236807f71e
parent 17 90f019b1b0f2
child 19 90421395ee26
do the update
ith.cfg
--- a/ith.cfg	Fri Jul 12 16:46:55 2013 +0200
+++ b/ith.cfg	Wed Jul 17 22:50:55 2013 +0200
@@ -140,7 +140,9 @@
 d-i	preseed/include/checksum	string	
 d-i	preseed/include_command	string	
 d-i	preseed/interactive	boolean	false
-d-i	preseed/late_command	string	in-target perl -i.bak -ne 'print unless /^deb cdrom:/' /etc/apt/sources.list
+d-i	preseed/late_command	string	\
+    in-target perl -i.bak -ne 'print unless /^deb cdrom:/' /etc/apt/sources.list; \
+    in-target apt-get update && in-target apt-get upgrade
 d-i	preseed/load_error	error	
 d-i	preseed/retrieve_error	error	
 d-i	preseed/run	string