cloudmesh / client

Deprecated: Version 3 of cloudmesh is a light weight cloud client to manage virtual clusters
http://cloudmesh.github.io/client
Other
3 stars 12 forks source link

Comet ISO attach by number breaks #233

Open rpwagner opened 8 years ago

rpwagner commented 8 years ago

Using the number # beside the list of ISOs from cm will try to attach an iso name # rather than the correct entry. I suggest tracking the last list and referencing the name if a number is given.

cm> comet iso list
1: CentOS-7-x86_64-NetInstall-1511.iso
2: CentOS-6.8-x86_64-netinstall.iso
3: kernel-6.2-0.x86_64.disk1.iso
4: systemrescuecd-x86-4.2.0.iso
5: base+kernel+kvm+os-6.2.x86_64.disk1.iso
6: ubuntu-14.04.4-server-amd64.iso
7: ubuntu-15.04-server-amd64.iso
8: CentOS-6.8-x86_64-LiveDVD.iso
9: ubuntu-16.04-server-amd64.iso
10: CentOS-7-x86_64-LiveGNOME-1511.iso
cm> comet iso attach 6 vct01

In this case an ISO named 6 is attached to the VM and not found, rather than ubuntu-14.04.4-server-amd64.iso.

fugangwang commented 8 years ago

It was in my feature list to do, but I will try to quickly implement this.

On Jul 14, 2016, at 5:43 PM, Rick Wagner notifications@github.com wrote:

Using the number # beside the list of ISOs from cm will try to attach an iso name # rather than the correct entry. I suggest tracking the last list and referencing the name if a number is given.

cm> comet iso list 1: CentOS-7-x86_64-NetInstall-1511.iso 2: CentOS-6.8-x86_64-netinstall.iso 3: kernel-6.2-0.x86_64.disk1.iso 4: systemrescuecd-x86-4.2.0.iso 5: base+kernel+kvm+os-6.2.x86_64.disk1.iso 6: ubuntu-14.04.4-server-amd64.iso 7: ubuntu-15.04-server-amd64.iso 8: CentOS-6.8-x86_64-LiveDVD.iso 9: ubuntu-16.04-server-amd64.iso 10: CentOS-7-x86_64-LiveGNOME-1511.iso cm> comet iso attach 6 vct01 In this case an ISO named 6 is attached to the VM and not found, rather than ubuntu-14.04.4-server-amd64.iso.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/233, or mute the thread https://github.com/notifications/unsubscribe/ABS9UfC7XxbAiHRHzhhnudrX6mshqwTqks5qVq10gaJpZM4JM4VS.