Salut à tous,

J'utilise l'outil Packer pour me créer des machines virtuelles (virtualbox) piloter par Vagrant.
Afin d'automatiser le process de création j'utilise donc un fichier preseed.cfg pour automatiser l'installation et les réponses aux questions de l'installation d'une distrib Ubuntu 18.
Ce fichier m'a servi et à été fonctionnelle pas mal de temps et de fois pour me créer à la volée pas mal de serveur virtuelle.

Pourtant, sans vraiment savoir pourquoi, cette création de serveur ne fonctionne plus.

Mon installation automatique s'arrête sur la page suivante :

Nom : packer issue configure the network.png
Affichages : 257
Taille : 83,4 Ko

J'utilise le fichier d'installation suivant (preseed.cfg) :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
 
# Keyboard selection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us
 
choose-mirror-bin mirror/http/proxy string
 
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string UTC
 
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
 
# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true
 
# This one makes grub-installer install to the MBR if it also finds some other
# OS, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true
 
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
d-i mirror/country string manual
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/proxy string
 
### Partitioning
d-i partman-auto/method string lvm
 
# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
 
### Account setup
d-i passwd/user-fullname string vagrant
d-i passwd/user-uid string 1000
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i passwd/username string vagrant
 
# The installer will warn about weak passwords. If you are sure you know
# what you're doing and want to override it, uncomment this.
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
 
### Package selection
tasksel tasksel/first standard
d-i pkgsel/include string openssh-server build-essential
d-i pkgsel/install-language-support boolean false
 
# disable automatic package updates
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
J'ai également utilisé celui-ci avec une partie différente de network config :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
## Ubuntu 18.104 pressed test 1
# This preseed file was adapted from the example at
# https://help.ubuntu.com/lts/installation-guide/amd64/apbs04.html
# and lots of experimentation!
 
### Automatic Installation
d-i auto-install/enable boolean true
d-i debconf/priority select critical
 
### Localization
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales multiselect en_US.UTF-8
# Keyboard
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us
 
### Network config
d-i netcfg/choose_interface select auto
# to get a hostname from the DHCP server set unassigned-hostname below
d-i netcfg/get_hostname string U1804n1
d-i netcfg/get_domain string unassigned-domain
#d-i netcfg/hostname string U1804n1
d-i hw-detect/load_firmware boolean true
 
### Mirror settings
#d-i mirror/http/mirror select CC.archive.ubuntu.com
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
 
### Account setup
# This is just for testing!!!
d-i passwd/user-fullname string Ubuntu User
d-i passwd/username string ubuntu
d-i passwd/user-password password ubuntu
d-i passwd/user-password-again password ubuntu
# or encrypted using a crypt(3) hash.
#d-i passwd/user-password-crypted password [crypt(3) hash]
# The installer will warn about weak passwords. If you are sure you know
# what you're doing and want to override it, uncomment this.
d-i user-setup/allow-password-weak boolean true
 
# Set to true if you want to encrypt the first user's home directory.
d-i user-setup/encrypt-home boolean false
 
### Clock and time zone setup
d-i clock-setup/utc-auto    boolean true
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
 
### Partitioning
# !!!DANGER don't use this without knowing what you are doing!!!
# comment out this block it you want the installer to ask about the
# partitioning, which is much safer!
 
# The following will partition disk /dev/sda with an EFI partition, a root partition
# and a swap file. AND WONT ASK TO CONFIRM ANYTHING i.e. it will overwrite existing partitions
d-i preseed/early_command string umount /media
d-i partman/unmount_active boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
# This makes partman automatically partition without confirmation, provided
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
 
# The kernel image (meta) package to be installed;
#d-i base-installer/kernel/image string linux-generic
d-i  base-installer/kernel/altmeta   string hwe-18.04
 
### Package selection
# Install the Ubuntu Server seed.
#tasksel    tasksel/force-tasks string server
tasksel tasksel/first multiselect openssh-server
 
# Individual additional packages to install
d-i pkgsel/include string build-essential dkms
 
# Only install basic language packs. Let tasksel ask about tasks.
d-i pkgsel/language-pack-patterns   string
# No language support packages.
d-i pkgsel/install-language-support boolean false
 
# Policy for applying updates. May be "none" (no automatic updates),
# "unattended-upgrades" (install security updates automatically), or
# "landscape" (manage system with Landscape).
d-i pkgsel/update-policy select none
 
# Verbose output and no boot splash screen.
d-i debian-installer/quiet  boolean false
d-i debian-installer/splash boolean false
 
# Avoid that last message about the install being complete.
# This will just finish and reboot
d-i finish-install/reboot_in_progress note
#d-i debian-installer/exit/poweroff boolean true
J'ai également modifié la ligne suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
d-i netcfg/choose_interface select auto
en

Code : Sélectionner tout - Visualiser dans une fenêtre à part
d-i netcfg/choose_interface=eth0
Mais même réaction de la part de l'installation.
Je ne vois pas bien ce qui à pu changer dans mon système, paramétrage, config ou host qui pourrait provoquer cela.
J'avais entre temps installé Docker Desktop mais je l'ai à nouveau désinstallé pour être sûr de savoir si c'était lui qui me provoquait le souci mais non.

Alors qu'est ce qui pourrait me provoquer le souci ?

Le DHCP de mon réseau interne est effectif et est configurer sur une plage de valeur assez large.