diff options
Diffstat (limited to 'pxeboot.write')
-rwxr-xr-x | pxeboot.write | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pxeboot.write b/pxeboot.write index 0a6b7fc1..d19d5c03 100755 --- a/pxeboot.write +++ b/pxeboot.write @@ -369,7 +369,8 @@ class PXEBoot(morphlib.writeexts.WriteExtension): url.query, url.fragment)) cliapp.runcmd(['rsync', '-asXSPH', '--delete', rootfs, nfsroot], stdin=None, stdout=None, stderr=None) - yield basename + yield os.path.join(os.path.basename(tempdir), + os.path.basename(rootfs)) @staticmethod def _write_pxe_config(fh, kernel_tftp_url, rootfs_nfs_url, extra_args=''): |