Comment 1 for bug 696027

Revision history for this message
Matthew Powell (mpowell) wrote :

Looking at the euca-bundle-vol script, it uses Python's os.path.normpath, which strips the trailing slash before passing the path to rsync, so the directory given for -v will always be created as a subdirectory in the image. See http://bugs.python.org/issue1707768.

Removing the line "volume_path = os.path.normpath(volume_path)" from the euca-bundle-vol script makes my second command (with the trailing slash) work as I expected.

Perhaps euca-bundle-vol should always add a trailing slash before passing the path to rsync, though.