Skip to content

Commit

Permalink
fix deb bug
Browse files Browse the repository at this point in the history
  • Loading branch information
peng9808 committed Jan 23, 2024
1 parent 6f1fbbc commit 4a3d11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-drbd9/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ else
cp $drbd_deb /pkgs_root/drbd.deb
cp $utils_deb /pkgs_root/drbd_utils.deb
nsenter --target 1 --mount --uts --ipc --net --pid ls /root/
nsenter --target 1 --mount --uts --ipc --net --pid rpm -ivh /root/drbd.deb
nsenter --target 1 --mount --uts --ipc --net --pid rpm -ivh /root/drbd_utils.deb
nsenter --target 1 --mount --uts --ipc --net --pid apt install /root/drbd.deb
nsenter --target 1 --mount --uts --ipc --net --pid apt install /root/drbd_utils.deb
exit_code=$?
if [ $exit_code -eq 0 ]; then
nsenter --target 1 --mount --uts --ipc --net --pid modprobe drbd
Expand Down

0 comments on commit 4a3d11d

Please sign in to comment.