Skip to content

Commit cf18549

Browse files
committed
Merge remote-tracking branch 'apache/4.17' into main
2 parents 687a21c + d3bfdac commit cf18549

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

systemvm/debian/opt/cloud/bin/setup/dhcpsrvr.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ setup_dhcpsrvr() {
3939
sed -i "s/-A INPUT -i eth0 -p udp -m udp --dport 53 -j ACCEPT/-A INPUT -i eth0 -p udp -m udp --dport 53 -s $DHCP_RANGE\/$CIDR_SIZE -j ACCEPT/g" /etc/iptables/rules.v4
4040
sed -i "s/-A INPUT -i eth0 -p tcp -m tcp --dport 53 -j ACCEPT/-A INPUT -i eth0 -p tcp -m tcp --dport 53 -s $DHCP_RANGE\/$CIDR_SIZE -j ACCEPT/g" /etc/iptables/rules.v4
4141

42+
log_it "Disable radvd for dhcp server system vm"
43+
rm -rf /etc/radvd.conf
44+
systemctl stop radvd
45+
systemctl disable radvd
4246
}
4347

4448
dhcpsrvr_svcs

ui/src/config/section/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default {
158158
},
159159
groupAction: true,
160160
popup: true,
161-
groupMap: (selection) => { return selection.map(x => { return { id: x } }) },
161+
groupMap: (selection, values) => { return selection.map(x => { return { id: x, cleanup: values.cleanup || null } }) },
162162
args: (record, store) => {
163163
const fields = []
164164
if (store.apis.deleteProject.params.filter(x => x.name === 'cleanup').length > 0) {

ui/src/views/compute/DeployVM.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,7 @@ export default {
21582158
},
21592159
fetchTemplateNics (template) {
21602160
var nics = []
2161+
this.nicToNetworkSelection = []
21612162
if (template && template.deployasisdetails && Object.keys(template.deployasisdetails).length > 0) {
21622163
var keys = Object.keys(template.deployasisdetails)
21632164
keys = keys.filter(key => key.startsWith('network-'))
@@ -2169,7 +2170,6 @@ export default {
21692170
return a.InstanceID - b.InstanceID
21702171
})
21712172
if (this.options.networks && this.options.networks.length > 0) {
2172-
this.nicToNetworkSelection = []
21732173
for (var i = 0; i < nics.length; ++i) {
21742174
var nic = nics[i]
21752175
nic.id = nic.InstanceID

0 commit comments

Comments
 (0)