diff options
| author | Simon Rettberg | 2013-06-26 19:06:48 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-06-26 19:06:48 +0200 |
| commit | 6e0ec594c23313ccfa7737b20f96af287137d67c (patch) | |
| tree | dee10b6ccc641b984e9e1ab4a4d7149876025594 /remote/rootfs | |
| parent | [kdm] bwLehrpool Theme (diff) | |
| parent | Library paths changed to reflect openSuse 64bit ($LIB64) (diff) | |
| download | tm-scripts-6e0ec594c23313ccfa7737b20f96af287137d67c.tar.gz tm-scripts-6e0ec594c23313ccfa7737b20f96af287137d67c.tar.xz tm-scripts-6e0ec594c23313ccfa7737b20f96af287137d67c.zip | |
Merge branch 'master' of dnbd3:openslx-ng/tm-scripts
Diffstat (limited to 'remote/rootfs')
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index 586b21df..3a1087df 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -107,11 +107,14 @@ mount -n --move /dev/shm/uniontmp /mnt/uniontmp || drop_shell "Problem moving un [ $DEBUG -ge 2 ] && drop_shell "Requested Debug Shell: after aufs'ing." # Download config if available +( +sleep 1 /mnt/opt/openslx/bin/activate-sysconfig /mnt +) & # create udev rule for nic we booted from cat > "/mnt/etc/udev/rules.d/70-net-boot-nic-name.rules" <<HEREEND -SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="$MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="br0" +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="$MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" HEREEND # create ip config |
