From 755e18856c52d3d45cce2b5aea1b0fa39bd1251f Mon Sep 17 00:00:00 2001 From: Nikos Skalkotos <skalkoto@grnet.gr> Date: Wed, 20 Jun 2012 18:30:55 +0300 Subject: [PATCH] In linux.py make sysprep names for descriptive --- image_creator/os_type/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image_creator/os_type/linux.py b/image_creator/os_type/linux.py index 9a54eeb..e38e777 100644 --- a/image_creator/os_type/linux.py +++ b/image_creator/os_type/linux.py @@ -114,7 +114,7 @@ class Linux(Unix): return @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 after hardware changes and reboots. Those rules will be created again the next time the image runs. @@ -151,7 +151,7 @@ class Linux(Unix): self.g.write('/etc/fstab', new_fstab) @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 device appearences with UUIDs. """ -- GitLab