Skip to content

Commit

Permalink
fix tar drbd-util.gz fail
Browse files Browse the repository at this point in the history
  • Loading branch information
peng9808 committed Apr 8, 2024
1 parent 7532f43 commit 55b2be7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-drbd9/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-drbd9/install-drbdutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 55b2be7

Please sign in to comment.