You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/03/29 02:32:43 UTC
[cloudstack] branch 4.16 updated: UI: fix create l2 network offering with userdata (#6174)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.16 by this push:
new f4b9ab0 UI: fix create l2 network offering with userdata (#6174)
f4b9ab0 is described below
commit f4b9ab034b819a2495093a0396cf1688128351d7
Author: Wei Zhou <we...@apache.org>
AuthorDate: Tue Mar 29 04:32:10 2022 +0200
UI: fix create l2 network offering with userdata (#6174)
---
ui/src/views/offering/AddNetworkOffering.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ui/src/views/offering/AddNetworkOffering.vue b/ui/src/views/offering/AddNetworkOffering.vue
index b5ab625..80509ab 100644
--- a/ui/src/views/offering/AddNetworkOffering.vue
+++ b/ui/src/views/offering/AddNetworkOffering.vue
@@ -891,6 +891,10 @@ export default {
}
}
+ if (values.guestiptype === 'l2' && values.userdatal2 === true) {
+ params.supportedservices = 'UserData'
+ }
+
if ('egressdefaultpolicy' in values && values.egressdefaultpolicy !== 'allow') {
params.egressdefaultpolicy = false
}