diff options
author | Harald Hoyer <harald@redhat.com> | 2009-11-12 14:55:30 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-11-12 14:55:30 +0100 |
commit | 1e0eb68b69d63d9e1c400ca3b83ccf3b24c74074 (patch) | |
tree | 9b6767c05b5b6a88a92e1d96776e0de1866ecd99 | |
parent | f791957ae3f53b3146dd7753e5729c285ada5bc3 (diff) |
dasd: only install /etc/dasd.conf in hostonly mode
-rwxr-xr-x | modules.d/95dasd/install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules.d/95dasd/install b/modules.d/95dasd/install index 9d0b98c..cc0ef40 100755 --- a/modules.d/95dasd/install +++ b/modules.d/95dasd/install @@ -3,4 +3,6 @@ inst_hook cmdline 30 "$moddir/parse-dasd.sh" dracut_install tr inst "$moddir/dasdconf.sh" /sbin/dasdconf.sh inst_rules "$moddir/56-dasd.rules" -inst /etc/dasd.conf +if [[ $hostonly ]]; then + inst /etc/dasd.conf +fi |