Revision 755e1885
b/image_creator/os_type/linux.py | ||
---|---|---|
114 | 114 |
return |
115 | 115 |
|
116 | 116 |
@sysprep() |
117 |
def persistent_net_rules(self, print_header=True): |
|
117 |
def remove_persistent_net_rules(self, print_header=True):
|
|
118 | 118 |
"""Remove udev rules that will keep network interface names persistent |
119 | 119 |
after hardware changes and reboots. Those rules will be created again |
120 | 120 |
the next time the image runs. |
... | ... | |
151 | 151 |
self.g.write('/etc/fstab', new_fstab) |
152 | 152 |
|
153 | 153 |
@sysprep() |
154 |
def persistent_devs(self, print_header=True):
|
|
154 |
def use_persistent_block_device_names(self, print_header=True):
|
|
155 | 155 |
"""Scan fstab & grub configuration files and replace all non-persistent |
156 | 156 |
device appearences with UUIDs. |
157 | 157 |
""" |
Also available in: Unified diff