I installed an OpenSUSE 10.3 system scratch (disk formatted first)
and created an image for cloning on 35 other PCs with 100%
identical hardware. (I have done this with OpsenSuSE 9.3, 10.1, 10.2
before).
I found the text "TID 3048119, “Cloned machine does not boot up properly”
on the NOVELL: Support webpage and followed these instructions
before creating the image for cloning.
cat< /dev/null > /etc/udev/rules.d/30-net_persistent_names.rules
this created a 0-byte file (which previously did not exist)
in /etc/sysconfig/network
the network card was already of the form ifcfg-eth0
(no MAC address in the name)
in /etc/sysconfig/network/config
there were NO lines containing FORCE_PERSISTENT_NAMES
(this was present in 10.1 and 10.2 which I then had to change to make
the cloned image work)
I also made the changes for disabling the use of persistent storage
device names as outlined in that document.
After cloning the created disk image, the clone can boot, the disks
are found OK, opensSUSE starts up into the Desktop, but there is no
network connection.
If I look into Yast / Network Devices / Network Card
I have 2 lines instead of 1 line what I would expect
(I have a single netwerk card in the system) :
One line for my unique network card, stating: Not configured’
If I hit the config button : the default settings are:
Activate device at boot time
Dynamic address: DHCP
Hardware: in the Udev rules, field ’ Matching rule’
(in grey) ATTR(address) = ‘…’ … =the MAC address of this PC
One line for my unique network card (exactly the same hardware name)
stating: ‘DHCP’
the bottom half of the screen tells me:
Ethernet controller (Not connected)
Devcice name: eth-eth0
Started automatically at boot
IP address assigned using DHCP
If I look at the configuration: it is set to
Activate device at boot time
Dynamic Address: DHCP
Hardware: Udev rules: nothing in the ‘Matching rule’ field
This second one is the one I would expect to be the ONLY one
(as was in OpenSUSE 10.2 after cloning)
I can’t delete the ‘Not configured’ line and even if I could do so, it would
let me with the second, but this has no record for the MAC address.
Also, if any manual intervention would be needed to get things working, then
this would have to be done every morning on 35 individual PCs (unrealistic!)
In /etc/sysconfig/network, there is one ifcfg* file:
ifcfg-eth0 (beside ifcfg-lo and ifcfg.template)
the parameters inside look OK (dhcp, startmode auto, name is exact name
of my network card)
The file /etc/udev/rules.d/30-net_persistent_names.rules
exists and is size 0 (as part of the cloned image)
In OpenSUSE 10.2 cloning was OK.
What’s wrong and how to remedy ??