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

Re: how to setup a small local Debian mirror to install a VM without an internet access



The early and partman commands run too early, as the final filesystems (where chroot will run) dues not yet exist and late_command starts *after* the base installation.

I would need another commands that starts after the target filesystem (/target) is mounted but before the base installation starts.

Then I could manually download (via curl or wget) my custom key into /target/etc/apt/trusted.gpg.d/.

Robert


⁣sent from my mobile device​


-------- Originale Nachricht --------
Von: john doe <johndoe65534@mail.com>
Gesendet: Sun Oct 06 19:34:05 GMT+02:00 2019
An: debian-boot@lists.debian.org
Betreff: Re: how to setup a small local Debian mirror to install a VM without an internet access

On 10/6/2019 7:25 PM, john doe wrote:
> On 10/6/2019 5:10 PM, Robert Paschedag wrote:
>> I also tried to include my custom gpg key into the initrd.... That did not work.
>>
>> The gpg key was there, but it was missing within the chroot within /target
>>
>> Looks to me as if the keys get installed via the "debian-archive-keyring" package.
>>
>
> Did you try to modify the debian archive keyring pkg to include your gpg
> key?
>

Also, can't you use one of the listed command at (1)?

1)  https://www.debian.org/releases/wheezy/amd64/apbs05.html.en

--
John Doe



Reply to: