95iscsi/module-setup.sh: do not require 'hostname' anymore

master
Harald Hoyer 2018-12-04 10:27:17 +01:00
parent b8a8d7a64e
commit ebe1821635
No known key found for this signature in database
GPG Key ID: 340F12141EA0994D
1 changed files with 2 additions and 2 deletions

View File

@ -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.
@ -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 \