since finename add-cifs.conf has changed to add-modules.conf, here modify the source file of COPY in Dockerfile.
Signed-off-by: Xu Xijian hdxuxijian@163.com --- container/dracut-initrd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/dracut-initrd/Dockerfile b/container/dracut-initrd/Dockerfile index 4208b98..7f8448f 100644 --- a/container/dracut-initrd/Dockerfile +++ b/container/dracut-initrd/Dockerfile @@ -7,7 +7,7 @@ MAINTAINER Wu Fenguang wfg@mail.ustc.edu.cn
ADD bin /usr/local/bin COPY conf/sources.list* /etc/apt/ -COPY conf/add-cifs.conf /etc/dracut.conf.d/ +COPY conf/add-modules.conf /etc/dracut.conf.d/ WORKDIR /usr/local/bin
RUN setup-dracut.sh