Skip to content

Commit

Permalink
95iscsi/module-setup.sh: do not require 'hostname' anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Dec 4, 2018
1 parent b8a8d7a commit ebe1821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules.d/95iscsi/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
check() {
local _rootdev
# If our prerequisites are not met, fail anyways.
require_binaries hostname iscsi-iname iscsiadm iscsid || return 1
require_binaries iscsi-iname iscsiadm iscsid || return 1

# If hostonly was requested, fail the check if we are not actually
# booting from root.
Expand Down Expand Up @@ -206,7 +206,7 @@ cmdline() {
install() {
inst_multiple -o iscsiuio
inst_libdir_file 'libgcc_s.so*'
inst_multiple umount hostname iscsi-iname iscsiadm iscsid
inst_multiple umount iscsi-iname iscsiadm iscsid

inst_multiple -o \
$systemdsystemunitdir/iscsid.socket \
Expand Down

0 comments on commit ebe1821

Please sign in to comment.