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 2efb991 commit 45a8271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inventories/custom/osseclab/templates/controller_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ systemd-machine-id-setup
hostnamectl set-hostname controller
echo controller > /etc/hostname
echo "" > /etc/motd
echo "curl -s https://raw.githubusercontent.com/goffinet/ansible-ccna-lab/master/tests/setup-controller.sh -o setup.sh" > readme.txt
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 %}
nmcli c mod "{{ interface['id'] }}" ipv4.method manual ipv4.addresses {{ interface['ipv4_address'] }}
Expand Down

0 comments on commit 45a8271

Please sign in to comment.