Skip to content
Snippets Groups Projects
Commit 755e1885 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

In linux.py make sysprep names for descriptive

parent 12078c7e
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ class Linux(Unix): ...@@ -114,7 +114,7 @@ class Linux(Unix):
return return
@sysprep() @sysprep()
def persistent_net_rules(self, print_header=True): def remove_persistent_net_rules(self, print_header=True):
"""Remove udev rules that will keep network interface names persistent """Remove udev rules that will keep network interface names persistent
after hardware changes and reboots. Those rules will be created again after hardware changes and reboots. Those rules will be created again
the next time the image runs. the next time the image runs.
...@@ -151,7 +151,7 @@ class Linux(Unix): ...@@ -151,7 +151,7 @@ class Linux(Unix):
self.g.write('/etc/fstab', new_fstab) self.g.write('/etc/fstab', new_fstab)
@sysprep() @sysprep()
def persistent_devs(self, print_header=True): def use_persistent_block_device_names(self, print_header=True):
"""Scan fstab & grub configuration files and replace all non-persistent """Scan fstab & grub configuration files and replace all non-persistent
device appearences with UUIDs. device appearences with UUIDs.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment