|
660 | 660 | poll: pollAsyncJobResult |
661 | 661 | } |
662 | 662 | }, |
663 | | - restore: { |
| 663 | + recover: { |
664 | 664 | label: 'label.recover.vm', |
665 | | - compactLabel: 'label.restore', |
| 665 | + compactLabel: 'label.recover.vm', |
666 | 666 | messages: { |
667 | 667 | confirm: function(args) { |
668 | 668 | return 'message.recover.vm'; |
|
694 | 694 | } |
695 | 695 | } |
696 | 696 | }, |
697 | | - reset: { |
| 697 | + reinstall: { |
698 | 698 | label: 'label.reinstall.vm', |
699 | 699 | messages: { |
700 | 700 | confirm: function(args) { |
|
2197 | 2197 |
|
2198 | 2198 | if (jsonObj.state == 'Destroyed') { |
2199 | 2199 | if (isAdmin() || isDomainAdmin()) { |
2200 | | - allowedActions.push("restore"); |
| 2200 | + allowedActions.push("recover"); |
2201 | 2201 | } |
2202 | 2202 | if (isAdmin() || isDomainAdmin()) |
2203 | 2203 | allowedActions.push("expunge"); |
|
2207 | 2207 | if (jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true) |
2208 | 2208 | allowedActions.push("snapshot"); |
2209 | 2209 | allowedActions.push("destroy"); |
2210 | | - allowedActions.push("reset"); |
| 2210 | + allowedActions.push("reinstall"); |
2211 | 2211 |
|
2212 | 2212 | //when userVm is running, scaleUp is not supported for KVM |
2213 | 2213 | if (jsonObj.hypervisor != 'KVM') { |
|
2233 | 2233 | allowedActions.push("edit"); |
2234 | 2234 | allowedActions.push("start"); |
2235 | 2235 | allowedActions.push("destroy"); |
2236 | | - allowedActions.push("reset"); |
| 2236 | + allowedActions.push("reinstall"); |
2237 | 2237 | if (jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true) |
2238 | 2238 | allowedActions.push("snapshot"); |
2239 | 2239 | allowedActions.push("scaleUp"); //when vm is stopped, scaleUp is supported for all hypervisors |
|
0 commit comments