diff --git a/docker-drbd9/entry.sh b/docker-drbd9/entry.sh index 01b8833..6b8b5f5 100644 --- a/docker-drbd9/entry.sh +++ b/docker-drbd9/entry.sh @@ -130,7 +130,8 @@ kos::fromsrc() { cd drbd-* || die "Could not cd to drbd src dir" make $LB_MAKEOPTS - cp /drbdUtils.tar.gz /pkgs_root/drbd-utils.tar.gz + #cp /drbdUtils.tar.gz /pkgs_root/drbd-utils.tar.gz + tar xf /drbdUtils.tar.gz -C /pkgs_root/ cp /install-drbdutils.sh /pkgs_root/install-drbdutils.sh nsenter --target 1 --mount --uts --ipc --net --pid chmod +x /root/install-drbdutils.sh nsenter --target 1 --mount --uts --ipc --net --pid /root/install-drbdutils.sh diff --git a/docker-drbd9/install-drbdutils.sh b/docker-drbd9/install-drbdutils.sh index 84b2529..0f1ec27 100755 --- a/docker-drbd9/install-drbdutils.sh +++ b/docker-drbd9/install-drbdutils.sh @@ -3,7 +3,7 @@ # 安装所需软件包 yum install -y build-essential wget flex automake -tar xf /root/drbd-utils.tar.gz +#tar xf /root/drbd-utils.tar.gz cd /root/drbd-utils/