[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

live-cd, preseeding, sudo, sources.list


I have made an custom Debian live-cd, it has d-i included. Now I want to customize the d-i process a bit.

1) enable sudo (disable root)

2) add a custom sources.list

I've read a bit about preseeding, but where should I put the file on the live-cd? Should I do it before or after building that live-cd?

I've taken the example file from the manual as example. Do I get it right that if I comment out the lines, the default d-i option is used?

To enable sudo I have this in the file:

### Account setup
# Skip creation of a root account (normal user account will be able to
# use sudo).

d-i passwd/root-login boolean false

# Alternatively, to skip creation of a normal user account.
#d-i passwd/make-user boolean false

To enable a custom sources.list I have:

# Additional repositories, local[0-9] available
d-i apt-setup/local0/repository string \
#       http://local.server/debian stable main
ftp://ftp.debian.us/debian/ testing main contrib non-free

http://www.debian-multimedia.org/ testing main

http://ftp.us.debian.org/debian/ unstable main contrib non-free

http://ftp.uni-kl.de/debian-multimedia/ unstable main

#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
d-i apt-setup/local0/source boolean true

# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out
#d-i apt-setup/local0/key string http://local.server/key

# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
d-i debian-installer/allow_unauthenticated string true

( I've the keys already on the live-cd..)

Advise is welcome here!

Thanks in advance,


Reply to: