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

Bug#623273: netcfg: way to start web and ssh via preseed



Matt Taggart <taggart@debian.org> writes:

> I am attempting to debug a preseed install on serial console and I
> can't just switch to another VC to get the log or run a shell. If I
> could access the built-in webserver to access the logs or ssh to run a
> shell and poke around, that would help a lot.

Here is what I put in my initrd preseed.cfg (after a static network
preseed) to automatically get a network console (and ssh client):

d-i anna/choose_modules string \
        network-console: Continue installation remotely using SSH, \
        openssh-client-udeb: Secure shell client for the Debian installer

network-console network-console/password password ****
network-console network-console/password-again password ****
network-console network-console/start note

Of course you may have to tweak the above for DHCP configs, but you get
the idea.
-- 
Regards,
Feri.



Reply to: