PDA

View Full Version : [ubuntu] how to use preseed file to automate no updates prompt?



gsegree
January 15th, 2009, 06:37 PM
I have successfully created a preseed file to make my ubuntu 8.10 installation pretty much unattended but during the install I'm being prompted twice.
1. Setup an encrypted private directory?


Yes
No

2. Do you want to allow automatic updates?


No Automatic Updates
Install Updates Automatically
Manage system with Landscape


How can I provide an answer automatically for these 2 questions?

nickbooker
January 27th, 2009, 12:52 PM
I'm not sure about the encrypted directory question, but for the unattended upgrades question try this:

d-i pkgsel/update-policy select none

MountainX
February 25th, 2009, 11:23 PM
I have successfully created a preseed file to make my ubuntu 8.10 installation pretty much unattended
where can I learn about doing this? Thanks

Curtor
July 9th, 2009, 08:06 PM
https://help.ubuntu.com/9.04/installation-guide/powerpc/preseed-using.html shows how to do a preseed.

From what I have googled,
d-i user-setup/allow-password-weak boolean true
allows you to use a weak password without getting prompted, and
d-i user-setup/encrypt-home boolean false
says not to encrypt the home directory.

Right now, I am getting prompted on Ubuntu 9.04 as to if I want to unmount currently mounted partitions and format them as well. Seeing as this is the partition that I am installing from (my usb key), the answer is obviously no. But I don't know what that is yet in the preseed script.