fuel-library/deployment/puppet/cobbler/templates/snippets/ubuntu_static_net.erb
Alexander Gordeev cb7df8d13e Fix udev NIC renaming issue
To prevent accidental NIC renaming we need to create empty udev rule
named /etc/udev/rules.d/75-persistent-net-generator.rules to disable
adding of any entries into /etc/udev/rules.d/70-persistent-net.rules

Change-Id: Idf2dc7a02ce4093fabbc7a518443aa9eacfc141d
Closes-Bug: #1422826
2015-03-23 14:04:04 +03:00

3 lines
1.0 KiB
Plaintext

#set $gw = $getVar('gw','@@server@@')
chroot /target /bin/bash -c 'echo H4sICDY4DFUAA3Rlc3Quc2gAhVNrj9JAFP1sf8Xd0qRg6M6yxhhXq6nQNURAA6zGUCRDe/sIMG1mhiUr8t+dPqCsj2z4MnPu7Zlz7j00LsgyYWRJRaz13FvnbjBdfPxmGx3N6Q37o8XQ6dpGU2AApiAeEI+RyASS8dQn/iZYJwzhF0QcM/DjNBW4SJhEHlI/x+luBdatZ4O5z7gqgHF9MFsVdf9WMUsOZv7zmAlv/82rbwO859s1CltXWKVl1rbnlZpjn3GSnPf5WwlWsAArvFa3GGkAVqel9UeTqTMYlK8noZ+yMIn+Q1F9dCLLlVqhImlAN0Z/BUkIO4QgBZZKoGuu+h8gpvcIQlKZ+FDRN1MO9VwE4kbAlpXFLcegpY3cqdPrje0mnKkyarFHhVb6BfTZlfV6vu+0Xxy8y6fPegtamlI6gwuwfiqPzYLJOG4BCEqfMJS7lK/ISaa4DIhSEkZW3VmJCGI/a+kwhzcgY2TaM1S7BwtBp1uZ1sweSwrDNYFaq6xm4zFP0iDgKAQY+8r/7Gp+yAuqbUPF6qxwXRaWPKWBT4U8K3XKUkQl7ugDGHWOdXj3pDv9pE7XwkRrOEFw3F4ePCiSp/lU/pXO8+xWkzlFtSrPbrZZhvxmbubndborz2WK1cBUkOt0kzzMJdg+Rbtq1AX5QSZ3HybfJ1N3aNuerix5etsDpzvtfx7liJpmgfTG/a/ueJJD75+XPdPpeF8N+5DjJNIr1gWpO+RDhkW5U2Cf3PHIHeR3lHFJNHKG7qPPDVLelF3Ecta5IVI4UjN+dWUp/yIREpm0lObLcp4N6CWCLtcICrMiZMipVP8SFZ+M471qBur7SaAOdA2jfhc4MrpJWKQVYTMb5nG3j997+cd7NXf18m84vWcx8gQAAA== | base64 -d | zcat > /tmp/createif.sh ; chmod +x /tmp/createif.sh ; /tmp/createif.sh $gw' && \