change the position to run localdisk script that put it before killing udev. For stateless only.
This commit is contained in:
parent
66ea7851a6
commit
969244bbe9
@ -1374,6 +1374,7 @@ EOMS
|
||||
print $inifile " exit\n";
|
||||
print $inifile "fi\n";
|
||||
|
||||
print $inifile "\$NEWROOT/etc/init.d/localdisk\n"; # to run the localdisk
|
||||
# udevd needed by s390x for networking
|
||||
# but for other type of machine, udevd will affect the start of devices which detected
|
||||
# after the chroot, so kill it before the switching root
|
||||
@ -1382,7 +1383,6 @@ EOMS
|
||||
}
|
||||
|
||||
print $inifile "cd /\n";
|
||||
print $inifile "\$NEWROOT/etc/init.d/localdisk\n"; # to run the localdisk
|
||||
print $inifile "mkdir \$NEWROOT/var/lib/dhcpcd/\n"; #neccessary for SLES11, not sure for SLES10
|
||||
print $inifile "cp /var/lib/dhcpcd/* \$NEWROOT/var/lib/dhcpcd/\n";
|
||||
print $inifile "cp /etc/resolv.conf \$NEWROOT/etc/\n";
|
||||
|
Loading…
Reference in New Issue
Block a user