diff options
Diffstat (limited to 'vmdb/plugins/grub_plugin.py')
-rw-r--r-- | vmdb/plugins/grub_plugin.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vmdb/plugins/grub_plugin.py b/vmdb/plugins/grub_plugin.py index 4c06d40..64522ec 100644 --- a/vmdb/plugins/grub_plugin.py +++ b/vmdb/plugins/grub_plugin.py @@ -139,7 +139,6 @@ class GrubStepRunner(vmdb.StepRunnerInterface): self.bind_mount_many(chroot, ['/dev', '/proc', '/sys'], state) if efi_dev: self.mount(chroot, efi_dev, '/boot/efi', state) - self.apt_update(chroot) self.install_package(chroot, grub_package) kernel_params = [ @@ -226,11 +225,6 @@ class GrubStepRunner(vmdb.StepRunnerInterface): def chroot_path(self, chroot, path): return os.path.normpath(os.path.join(chroot, '.' + path)) - def apt_update(self, chroot): - env = os.environ.copy() - env['DEBIAN_FRONTEND'] = 'noninteractive' - vmdb.runcmd_chroot(chroot, ['apt-get', 'update'], env=env) - def install_package(self, chroot, package): env = os.environ.copy() env['DEBIAN_FRONTEND'] = 'noninteractive' |