Skip to content

Commit

Permalink
fix: add and set ENABLE_KEEP_VM_IP=true to keep vm ip (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobz965 authored and hongzhen-ma committed Aug 25, 2022
1 parent a4030de commit 05b27f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ CNI_CONFIG_PRIORITY=${CNI_CONFIG_PRIORITY:-01}
# exchange link names of OVS bridge and the provider nic
# in the default provider-network
# EXCHANGE_LINK_NAME=${EXCHANGE_LINK_NAME:-false}
ENABLE_KEEP_VM_IP=${ENABLE_KEEP_VM_IP:-true}
# The nic to support container network can be a nic name or a group of regex
# separated by comma, if empty will use the nic that the default route use
IFACE=${IFACE:-}
Expand Down Expand Up @@ -2581,6 +2582,7 @@ spec:
- --alsologtostderr=true
- --log_file=/var/log/kube-ovn/kube-ovn-controller.log
- --log_file_max_size=0
- --keep-vm-ip=$ENABLE_KEEP_VM_IP
env:
- name: ENABLE_SSL
value: "$ENABLE_SSL"
Expand Down

0 comments on commit 05b27f2

Please sign in to comment.