[pkg-eucalyptus-commits] [euca2ools] 35/41: Use unique names for eustore kernel/ramdisk images
Charles Plessy
plessy at alioth.debian.org
Sat Oct 12 03:24:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to branch master
in repository euca2ools.
commit 2cf619ff5f02fd35040400a0b50f3d1d14bf802f
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Tue Sep 24 15:07:58 2013 -0700
Use unique names for eustore kernel/ramdisk images
Fixes TOOLS-387
---
euca2ools/commands/eustore/installimage.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/euca2ools/commands/eustore/installimage.py b/euca2ools/commands/eustore/installimage.py
index 9d3e868..e7b9cec 100644
--- a/euca2ools/commands/eustore/installimage.py
+++ b/euca2ools/commands/eustore/installimage.py
@@ -305,7 +305,8 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
kernel_image, 'kernel', workdir)
req = RegisterImage(
config=self.config, service=self.__eucalyptus,
- ImageLocation=manifest_loc, Name=image_name,
+ ImageLocation=manifest_loc,
+ Name=(image_name + '-kernel'),
Description=self.args.get('description'),
Architecture=self.args.get('architecture'))
response = req.main()
@@ -322,7 +323,8 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
ramdisk_image, 'ramdisk', workdir)
req = RegisterImage(
config=self.config, service=self.__eucalyptus,
- ImageLocation=manifest_loc, Name=image_name,
+ ImageLocation=manifest_loc,
+ Name=(image_name + '-ramdisk'),
Description=self.args.get('description'),
Architecture=self.args.get('architecture'))
response = req.main()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-eucalyptus/euca2ools.git
More information about the pkg-eucalyptus-commits
mailing list