rhtyd commented on a change in pull request #2211: CLOUDSTACK-10013: Migrate systemvmtemplate to Debian9 URL: https://github.com/apache/cloudstack/pull/2211#discussion_r158494593
########## File path: systemvm/patches/debian/config/opt/cloud/bin/ipsectunnel.sh ########## @@ -139,36 +139,36 @@ ipsec_tunnel_add() { check_and_enable_iptables - sudo echo "conn vpn-$rightpeer" > $vpnconffile && - sudo echo " left=$leftpeer" >> $vpnconffile && - sudo echo " leftsubnet=$leftnet" >> $vpnconffile && - sudo echo " leftnexthop=$leftnexthop" >> $vpnconffile && - sudo echo " right=$rightpeer" >> $vpnconffile && - sudo echo " rightsubnets={$rightnets}" >> $vpnconffile && - sudo echo " type=tunnel" >> $vpnconffile && - sudo echo " authby=secret" >> $vpnconffile && - sudo echo " keyexchange=ike" >> $vpnconffile && - sudo echo " ike=$ikepolicy" >> $vpnconffile && - sudo echo " ikelifetime=${ikelifetime}s" >> $vpnconffile && - sudo echo " esp=$esppolicy" >> $vpnconffile && - sudo echo " salifetime=${esplifetime}s" >> $vpnconffile && - sudo echo " pfs=$pfs" >> $vpnconffile && - sudo echo " keyingtries=2" >> $vpnconffile && - sudo echo " auto=start" >> $vpnconffile && - sudo echo "$leftpeer $rightpeer: PSK \"$secret\"" > $vpnsecretsfile && - sudo chmod 0400 $vpnsecretsfile + sudo echo "conn vpn-$rightpeer" > $vpnconffile && Review comment: I guess not, this is not used now (at least by xenserver,kvm and vmware). I edited this to sync with other changes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services