network-console not considering preseed values debian-installer

Raphael Philipe Mendes da Silva raphasil at linux.vnet.ibm.com
Tue Jun 21 00:31:01 UTC 2016


> My snippet (trusty) for ssh install was
>
> d-i preseed/early_command string anna-install network-console
> d-i network-console/start select continue
> d-i anna/choose_modules string network-console
> d-i network-console/authorized_keys_url string
> http://172.16.175.98/openssh-key
> d-i network-console/password password r00tme
> d-i network-console/password-again password r00tme

Thank you very much Javier, but I got the same results using the missing lines.

Jun 20 23:32:33 main-menu[210]: INFO: Menu item 'network-console' selected
Jun 20 23:32:33 debconf: --> SETTITLE debian-installer/network-console/title
Jun 20 23:32:33 debconf: <-- 0 OK
Jun 20 23:32:33 debconf: --> PROGRESS START 0 1 network-console/key
Jun 20 23:32:33 debconf: <-- 0 OK
Jun 20 23:32:34 debconf: --> PROGRESS STOP
Jun 20 23:32:34 debconf: <-- 0 OK
Jun 20 23:32:34 debconf: --> GET network-console/password
Jun 20 23:32:34 debconf: <-- 0
Jun 20 23:32:34 debconf: --> GET network-console/authorized_keys_url
Jun 20 23:32:34 debconf: <-- 0
Jun 20 23:32:34 debconf: --> INPUT critical network-console/password
Jun 20 23:32:34 debconf: <-- 0 question will be asked
Jun 20 23:32:34 debconf: --> INPUT high network-console/password-again
Jun 20 23:32:34 debconf: <-- 30 question skipped
Jun 20 23:32:34 debconf: --> GO
Jun 20 23:32:44 debconf: <-- 0 ok
Jun 20 23:32:44 debconf: --> GET network-console/password
Jun 20 23:32:44 debconf: <-- 0 123
Jun 20 23:32:44 debconf: --> GET network-console/password-again
Jun 20 23:32:44 debconf: <-- 0
Jun 20 23:32:44 debconf: --> SET network-console/password
Jun 20 23:32:44 debconf: <-- 0 value set
Jun 20 23:32:44 debconf: --> SET network-console/password-again
Jun 20 23:32:44 debconf: <-- 0 value set
Jun 20 23:32:44 debconf: --> FSET network-console/password seen false
Jun 20 23:32:44 debconf: <-- 0 false
Jun 20 23:32:44 debconf: --> FSET network-console/password-again seen false
Jun 20 23:32:44 debconf: <-- 0 false

I took a look at the postinst script of network-console and it seems to be executed properly but it is not able to get the values set in the preseed file.

Best Regards,

Raphael Silva
Software Engineer
Linux Technology Center - IBM Brazil





More information about the ubuntu-server mailing list