From 26036fe5c0286316b72d284e1876ff69d1f33dd6 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Sun, 19 Apr 2020 13:02:28 +0300 Subject: [PATCH] Suse: remove outdated firewall config The lastest versions of yast-firewall cannot be used from command-line --- libmachine/provision/suse.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libmachine/provision/suse.go b/libmachine/provision/suse.go index 647a4e0494..46c8819fa6 100644 --- a/libmachine/provision/suse.go +++ b/libmachine/provision/suse.go @@ -158,14 +158,6 @@ func (provisioner *SUSEProvisioner) Provision(swarmOptions swarm.Options, authOp return err } - // Is yast2 firewall installed? - if _, installed := provisioner.SSHCommand("rpm -q yast2-firewall"); installed == nil { - // Open the firewall port required by docker - if _, err := provisioner.SSHCommand("sudo -E /sbin/yast2 firewall services add ipprotocol=tcp tcpport=2376 zone=EXT"); err != nil { - return err - } - } - log.Debug("Starting systemd docker service") if err := provisioner.Service("docker", serviceaction.Start); err != nil { return err