summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-19 14:10:33 (GMT)
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-27 17:28:38 (GMT)
commit7a1b589138d654151227d590ea23d898fca1df7d (patch)
tree5fd7ced23864b48c60414dd3a7ac8a8d1f63374e
parent6a4c12cf6bbae77dae1a9245cb6d9b644da639db (diff)
downloaddefinitions-7a1b589138d654151227d590ea23d898fca1df7d.tar.gz
pxeboot: fix keyword argument name passed to remote_kernel()
-rwxr-xr-xpxeboot.write2
1 files changed, 1 insertions, 1 deletions
diff --git a/pxeboot.write b/pxeboot.write
index e33da52..a0cae1e 100755
--- a/pxeboot.write
+++ b/pxeboot.write
@@ -660,7 +660,7 @@ class PXEBoot(morphlib.writeexts.WriteExtension):
url = urlparse.urlsplit(rootfs_rsync)
nfsroot = os.environ.get('PXEBOOT_ROOTFS_NFSROOT',
'%s:%s' % (url.hostname, url.path))
- with self.remote_kernel(rootfs=temp_root, url=kernel_tftpaddr,
+ with self.remote_kernel(rootfs=temp_root, tftp_url=kernel_tftpaddr,
macaddr=macaddr) as kernel_subpath, \
self.remote_nfsroot(rootfs=temp_root, rsync_url=rootfs_rsync)\
as rootfs_subpath, \