force lowercase for udev rules macs
This commit is contained in:
parent
9ce7e09d98
commit
c118b097d9
@ -7,5 +7,5 @@ echo -e "# FROM COBBLER SNIPPET\nDEVICE=$ADMIN_IF\nIPADDR=${NETADDR[0]}\nNETMASK
|
||||
|
||||
echo GATEWAY="$DEFAULT_GW" >> /etc/sysconfig/network
|
||||
|
||||
cat /proc/cmdline | tr ' ' '\n' | grep udevrules | sed -e 's/udevrules=//g' -e 's/,/\n/g' | sed -e "s/^/SUBSYSTEM==\"net\",\ ACTION==\"add\",\ DRIVERS==\"?*\",\ ATTR{address}==\"/g" -e "s/_/\",\ ATTR{type}==\"1\",\ KERNEL==\"eth*\",\ NAME=\"/g" -e "s/$/\"/g" | tee /etc/udev/rules.d/70-persistent-net.rules
|
||||
cat /proc/cmdline | tr ' ' '\n' | grep udevrules | tr '[:upper:]' '[:lower:]' | sed -e 's/udevrules=//g' -e 's/,/\n/g' | sed -e "s/^/SUBSYSTEM==\"net\",\ ACTION==\"add\",\ DRIVERS==\"?*\",\ ATTR{address}==\"/g" -e "s/_/\",\ ATTR{type}==\"1\",\ KERNEL==\"eth*\",\ NAME=\"/g" -e "s/$/\"/g" | tee /etc/udev/rules.d/70-persistent-net.rules
|
||||
#end raw
|
||||
|
@ -1,3 +1,3 @@
|
||||
#raw
|
||||
chroot /target /bin/bash -c 'echo H4sIADhNk1IAA4VSXW/aQBB8rn/F5rBkqDAH6UNVVW7lBidCDbQCp1WFKTp8C7aAs3V3BKWU/97zB5AqD5Ff7Jnd0cx4G1d0kQq6YCqx+sGt/3Afzu9+enbP8vvDwWg+uPXspkIOjqIR0EjQlQM0l1lM4y3fpALhL6wk5hAnWaZwngqNcsniAmf7Nbi3kQfOIZeGAPv66LSsBtwkGK8hXcIegWcgMg1sI5HxJ0jYI4LSTKcxxJlYpitoZhIusgpxq2AnKnInkbesURD6/f7Ya4LdTJf1mn1KcHLoZt+BTLvuh9mh1353jDqvv5MWtCzjcwpX4P4BYjdLpYs0RR1TgXqfyTU9m1QdTo2P5cp9YYIncd4iMIOPoBMU1hs0xYGLQNhOZxflSKRl3IuA6VrXzUQi0oxziUqBfajTT7uzY0GYsS1T62fEdUUsZMZ4zJR+RvVmRwKfXo1BzjaItUyths/56SftOD6C3G1QWTHTL25DS3CKJxLOqYJio1wwQHFaJry5rjPq0eLGKrBdX9x5kCj6m04evkx+TcJg6HkRMa4j0o7AvwkH30YFYpopkf548CMYTwro89tqJgzHh7q4Y4HTFalV5/QyoZ9yLOleiX0NxqPgvvhGnVRCI38Y/Ldu0+rLBEas6iwC0TKRqfF9181RqlRpFNo1njtVZf8AGSFr/IADAAA= | base64 -d | zcat > /tmp/createif.sh ; chmod +x /tmp/createif.sh ; /tmp/createif.sh @@server@@' && \
|
||||
chroot /target /bin/bash -c 'echo H4sIAPiPlFIAA4VSXW/aQBB8rn/FxlgyVJiD9KFqKrdyg6lQA63AaVVhig7fgi3gbN2dg1LCf+/5A0iVh8gvezu7o5nxNq7IMuFkSWVs9P2Bd38XLL7+cq2e4fVHw/FiOHCtpkQGtiQhkJCTtQ0kE2lEoh3bJhzhCdYCM4jiNJW4SLhCsaJR0af7DTiD0AX7kAkNgHV9tFtGA25jjDaQrGCPwFLgqQK6FUjZI8T0AUEqqpIIopSvkjU0UwEXWom4k5DzCswFspYx9gOv35+4TbCayapes04OTgqd9AeYs67zYX7otd8dw87rtdmClqF1zuAKnL9gWs2S6UJNUEWEo9qnYkPOImWHEa1jtXZeiGBxlLVMmMNHUDFy4w3q4MBBMGmu0gtzyJPS7oVAZ63qZEIeKsqYQCnBOtTuZ935sQD02I7KzTPgugKWIqUsolI9g3rzowmfXrVhnmWYxioxGh5jp5+UM3wAkW9RGhFVL25DCbCLL+T2KYJio1yo4dlNnmUobuZ2UW/TfVU/QXF3Ohl9eucVlxQHWDXb9TmeB01J/pDp/Zfp72ngj1w3NLWl0GyH4N0Gw+/joqNjKzv9yfCnP5kWrc9vq5kgmBzqVI9Fn6zNmnVBLhPqMcMS7pW9b/5k7N8Vb1RxRTT2Rv5/6xapXtouYpV1YYiUjnTG77uO9i8TqZArR2vuVHn+A6Dd1aedAwAA | base64 -d | zcat > /tmp/createif.sh ; chmod +x /tmp/createif.sh ; /tmp/createif.sh @@server@@' && \
|
||||
#end raw
|
||||
|
Loading…
Reference in New Issue
Block a user