Skip to content

Commit

Permalink
Update controller_config.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
goffinet authored Oct 10, 2024
1 parent 7d9a2b9 commit 6092d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inventories/custom/osseclab/templates/controller_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ systemd-machine-id-setup
hostnamectl set-hostname controller
echo controller > /etc/hostname
echo "" > /etc/motd
sed -i 's/^#PermitRootLogin .*/PermitRootLogin yes/g' /etc/ssh/sshd_config
echo "curl -s https://raw.githubusercontent.com/goffinet/ansible-ccna-lab/master/tests/almalinux9-controller.sh -o setup.sh" > readme.txt
echo "bash setup.sh ; reboot" >> readme.txt
{% for interface in interfaces %}
Expand Down

0 comments on commit 6092d63

Please sign in to comment.