Remove unused variable.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
This commit is contained in:
Sandon Van Ness 2013-12-09 11:42:06 -08:00
parent ce8ff0a3c8
commit 478ecc304f

View File

@ -528,7 +528,6 @@ def install_distro_kernel(remote):
else:
grubvalue = menuentry
grubfile = 'cat <<EOF\nset default="' + grubvalue + '"\nEOF'
temp_file_path = teuthology.remote_mktemp(remote)
teuthology.delete_file(remote, '/etc/grub.d/01_ceph_kernel', sudo=True, force=True)
teuthology.sudo_write_file(remote, '/etc/grub.d/01_ceph_kernel', StringIO(grubfile), '755')
log.info('Distro Kernel Version: {version}'.format(version=newversion))