File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ VAI_welcome() {
21
21
printf " =============================================================\n"
22
22
}
23
23
24
+ VAI_udev_settle () {
25
+ /usr/bin/udevd --daemon
26
+ /usr/bin/udevadm trigger --action=add --type=subsystems
27
+ /usr/bin/udevadm trigger --action=add --type=devices
28
+ /usr/bin/udevadm settle
29
+ }
30
+
24
31
VAI_get_address () {
25
32
mkdir -p /var/lib/dhclient
26
33
@@ -236,10 +243,13 @@ VAI_configure_autoinstall() {
236
243
237
244
VAI_main () {
238
245
CURRENT_STEP=0
239
- STEP_COUNT=16
246
+ STEP_COUNT=17
240
247
241
248
VAI_welcome
242
249
250
+ VAI_print_step " Wait on hardware"
251
+ VAI_udev_settle
252
+
243
253
VAI_print_step " Bring up the network"
244
254
VAI_get_address
245
255
Original file line number Diff line number Diff line change @@ -40,5 +40,6 @@ install() {
40
40
inst /etc/ssl/certs.pem
41
41
42
42
inst_hook pre-mount 01 " $moddir /install.sh"
43
+ inst_hook cmdline 99 " $moddir /parse-vai-root.sh"
43
44
inst " $moddir /autoinstall.cfg" /etc/autoinstall.default
44
45
}
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ if [ " ${root} " = " vai" ] ; then
3
+ rootok=1
4
+ fi
You can’t perform that action at this time.
0 commit comments