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

Network automatic installation with custom mirror



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I try to install my server from pxe boot and encounter some issue.

Because my network bandwidth is very limited and I can't wait too long
to install a server, so I collect all I need packages include packages
from security.debian.org and ftp.us.debian.org and run apt-move to get a
proper archive hierarchy that can be act as a mirror.

The command apt-move above generate a modified Release file in
/debian/dists/lenny/Release, and I have to sign this file to make the
installer trust me. So I sign the /debian/dists/lenny/Release with my
gpg key, then I custom the /var/lib/tftpboot/...../initrd.gz and add my
gpg key to initrd's /usr/share/keyrings/debian-archive-keyring.gpg

Then I use pxeboot and preseed to install the Debian system. The new
issue raised because in target system, my key does not added as trusted key.

It seems the target's trusted key is generated at debootstrap step in
debian-installer, I don't know how can I hack into it to add my gpg key
as trusted key.

Anyway, I think what I did it too complicated and there should be an
easy way to fit my requirement. I appreciated if you can give me some
clue to resolve this problem.

Thanks
Ding

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr/krcACgkQJo9Njjkvy36yXACgt47FqGwQbuNL4tHj8Q4JMZC0
2J4AoMlOCKoZbyijop64X5OEKcrS1Jj6
=O9Wd
-----END PGP SIGNATURE-----


Reply to: