mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 11:04:00 +01:00
Pass VM guest IP to enable static NAT action
This commit is contained in:
parent
ccbad34c05
commit
fd7ce8bb88
@ -1738,6 +1738,10 @@
|
||||
virtualmachineid: args.context.instances[0].id
|
||||
};
|
||||
|
||||
if (args._subselect && args._subselect != -1) {
|
||||
data.vmguestip = args._subselect;
|
||||
}
|
||||
|
||||
if('vpc' in args.context) {
|
||||
if(args.tierID == '-1') {
|
||||
args.response.error('Tier is required');
|
||||
|
||||
@ -95,6 +95,7 @@
|
||||
$dataList.fadeOut(function() {
|
||||
action({
|
||||
tierID: $dataList.find('.tier-select select').val(),
|
||||
_subselect: $dataList.find('tr.multi-edit-selected .subselect select').val(),
|
||||
context: $.extend(true, {}, context, {
|
||||
instances: [
|
||||
$dataList.find('tr.multi-edit-selected').data('json-obj')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user