Skip to content

Commit

Permalink
fix: various
Browse files Browse the repository at this point in the history
  • Loading branch information
sbyrnes committed Mar 14, 2024
1 parent f4f6fcb commit 4c45d54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions internal-lab-setup-assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ clab-install:
dnf update
dnf install docker-ce docker-ce-cli containerd.io -y
dnf install containerlab -y --nogpgcheck
containerlab version upgrade

gen: clean
python gen-topo.py

deploy: gen
for name in workshop[0-9]*.clab.yml; do\
containerlab deploy --reconfigure -t $${name};\
# sleep 20;\
done

destroy:
for name in workshop[0-9]*.clab.yml; do\
containerlab destroy --cleanup -t $${name};\
# sleep 10;\
done
rm -rf $(wildcard clab-automation-workshop-[0-9]*)

Expand Down
4 changes: 0 additions & 4 deletions internal-lab-setup-assets/workshop-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# to avoid one user from accidentally signing into another's container.
echo "clab:$LONI_LAB_PASSWORD" | chpasswd

# Give users root of their own unix containers because we're nice
echo "clab ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/clab
chmod 0440 /etc/sudoers.d/clab

# Enable highlighting in vim
echo "syntax on" > /home/clab/.vimrc

Expand Down

0 comments on commit 4c45d54

Please sign in to comment.