Skip to content

Commit

Permalink
Merge pull request #19 from gabi2/master
Browse files Browse the repository at this point in the history
allow non-standard iqn (bnc #868220)
  • Loading branch information
gabi2 committed Apr 1, 2014
2 parents 7f4f75d + f71cbc7 commit 3669531
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions package/yast2-iscsi-client.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 1 11:25:37 CEST 2014 - gs@suse.de

- allow non-standard iqn (bnc #868220)

-------------------------------------------------------------------
Fri Mar 14 10:47:43 CET 2014 - gs@suse.de

Expand Down
7 changes: 4 additions & 3 deletions src/include/iscsi-client/widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def validateInitName(key, event)
Builtins.regexpmatch(i_name, Builtins.sformat("^eui.%1%2$", reg1, reg2))

if !correct
Popup.Warning(
continue = Popup.ContinueCancel(
_(
"Incorrect InitiatorName.\n" +
"The correct syntax is\n" +
Expand All @@ -430,9 +430,10 @@ def validateInitName(key, event)
"iqn.2007-04.cz.server:storage.disk.sdb\n"
)
)
return continue
else
return true
end

correct
end


Expand Down
2 changes: 1 addition & 1 deletion src/modules/IscsiClientLib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def writeInitiatorName(new_value)
Builtins.y2milestone("Initiatorname %1 written", @initiatorname)
end
# reload service when initiatorname is changed to re-read new value (bnc#482429)
# restart the daemon (reload not supported with systemd)
# SLES12: restart the daemon (reload not supported in iscsid.service)
Service.Restart("iscsid")
ret
end
Expand Down

0 comments on commit 3669531

Please sign in to comment.