Skip to content

Commit

Permalink
Fix debian registry node dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Sep 30, 2024
1 parent 6e14225 commit 7b2f2ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ while getopts "h?v:c:" opt; do
esac
done

case ${ID,,} in
ubuntu | debian)
if ${ID,,} == ubuntu; then
sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 "linux-modules-extra-$(uname -r)"
;;
esac
fi

if ! command -v cloud-init >/dev/null; then
case ${ID,,} in
Expand Down
1 change: 1 addition & 0 deletions samples/distributed/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ Vagrant.configure("2") do |config|
DOCKER_REGISTRY_IP: "10.10.13.2"
}
sh.inline = <<-SHELL
set -o errexit
cd /vagrant/
./node.sh -v "#{volume_mounts_dict[0...-1]}" -c "#{cinder_volume[0...-1]}" | tee ~/node.log
SHELL
Expand Down

0 comments on commit 7b2f2ba

Please sign in to comment.