summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-24 15:02:20 (GMT)
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-27 17:28:38 (GMT)
commite2e87985b06fd0a05ada1f99e9a8b4a5612ed621 (patch)
tree93c148b0dffd52d0e8ca8888d3a468be53ede0fc
parente100fddd212608f6b485c766163af4cf48e02bfe (diff)
downloaddefinitions-e2e87985b06fd0a05ada1f99e9a8b4a5612ed621.tar.gz
pxeboot: fix usage of undefined variable
-rwxr-xr-xpxeboot.write2
1 files changed, 1 insertions, 1 deletions
diff --git a/pxeboot.write b/pxeboot.write
index d19d5c0..ef88228 100755
--- a/pxeboot.write
+++ b/pxeboot.write
@@ -403,7 +403,7 @@ class PXEBoot(morphlib.writeexts.WriteExtension):
@contextlib.contextmanager
def remote_pxeboot_config(self, tftproot, kernel_tftproot, kernel_subpath,
rootfs_nfsroot, rootfs_subpath, macaddr):
- rootfs_nfs_url = '{}:{}/{}'.format(ip, rootfs_nfsroot, rootfs_subpath)
+ rootfs_nfs_url = '{}/{}'.format(rootfs_nfsroot, rootfs_subpath)
kernel_tftp_url = '{}/{}'.format(kernel_tftproot, kernel_subpath)
pxe_cfg_filename = _normalise_macaddr(macaddr)
url = urlparse.urlsplit(tftproot)