diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-02-24 15:02:20 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-02-27 15:20:01 +0000 |
commit | f7bbd450120f230ee6793d917681b48d172c5d3d (patch) | |
tree | bce8c79d6b41057a9c7a516d4a270c766a49ca63 | |
parent | 05d85567df9abdaa33f551dc3a50af2f10bf9862 (diff) | |
download | definitions-f7bbd450120f230ee6793d917681b48d172c5d3d.tar.gz |
pxeboot: fix usage of undefined variable
-rwxr-xr-x | pxeboot.write | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pxeboot.write b/pxeboot.write index d19d5c03..ef88228d 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) |