We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84ad4c7 + a577813 commit ddd8462Copy full SHA for ddd8462
1 file changed
systemvm/patches/debian/config/opt/cloud/bin/configure.py
@@ -663,6 +663,12 @@ def process(self):
663
#Enable remote access vpn
664
if vpnconfig['create']:
665
logging.debug("Enabling remote access vpn on "+ public_ip)
666
+
667
+ dev = CsHelper.get_device(public_ip)
668
+ if dev == "":
669
+ logging.error("Request for ipsec to %s not possible because ip is not configured", public_ip)
670
+ continue
671
672
CsHelper.start_if_stopped("ipsec")
673
self.configure_l2tpIpsec(public_ip, self.dbag[public_ip])
674
logging.debug("Remote accessvpn data bag %s", self.dbag)
0 commit comments