Skip to content

Commit ddd8462

Browse files
committed
Merge branch '4.9' into 4.10
2 parents 84ad4c7 + a577813 commit ddd8462

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

systemvm/patches/debian/config/opt/cloud/bin/configure.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,12 @@ def process(self):
663663
#Enable remote access vpn
664664
if vpnconfig['create']:
665665
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+
666672
CsHelper.start_if_stopped("ipsec")
667673
self.configure_l2tpIpsec(public_ip, self.dbag[public_ip])
668674
logging.debug("Remote accessvpn data bag %s", self.dbag)

0 commit comments

Comments
 (0)