Skip to content

Commit

Permalink
Opening service for iSCSI target if installation booted with WithiSCSI=1
Browse files Browse the repository at this point in the history
  • Loading branch information
kobliha committed Aug 16, 2012
1 parent 759c261 commit 1c9f35e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions library/network/src/SuSEFirewallProposal.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@

string ssh_service = "service:sshd";

string iscsi_target_service = "service:iscsitarget";

# <!-- SuSEFirewall LOCAL VARIABLES //-->

# <!-- SuSEFirewall LOCAL FUNCTIONS //-->
Expand Down Expand Up @@ -351,6 +353,13 @@
SuSEFirewall::AddXenSupport();
}

// BNC #766300 - Automatically propose opening iscsi-target port
// when installing with withiscsi=1
if (Linuxrc::useiscsi()) {
y2milestone("iSCSI has been used during installation, opening %1 service", iscsi_target_service);
OpenServiceOnNonDialUpInterfaces (iscsi_target_service, ["iscsi-target"]);
}

SetKnownInterfaces(SuSEFirewall::GetListOfKnownInterfaces());
}

Expand Down

0 comments on commit 1c9f35e

Please sign in to comment.