Update entrypoint.sh

This commit is contained in:
Nicole Rappe 2024-04-04 21:21:43 -06:00
parent a31deb69e6
commit f2ca0c5c1a

View File

@ -1,13 +1,13 @@
#!/bin/bash
# Modify the DNS configuration in /etc/resolv.conf
echo "nameserver 192.168.3.10" > /etc/resolv.conf && \
echo "nameserver 192.168.3.11" >> /etc/resolv.conf
echo "nameserver 192.168.3.8" > /etc/resolv.conf && \
echo "nameserver 192.168.3.9" >> /etc/resolv.conf
# Map nexus-dc-01.moongate.local to 192.168.3.10 in /etc/hosts
echo "192.168.3.10 nexus-dc-01.moongate.local" >> /etc/hosts
echo "192.168.3.11 nexus-dc-02.moongate.local" >> /etc/hosts
echo "192.168.3.10 nexus-dc-01" >> /etc/hosts
echo "192.168.3.11 nexus-dc-02" >> /etc/hosts
echo "192.168.3.8 bunny-dc-01.bunny-lab.io" >> /etc/hosts
echo "192.168.3.9 bunny-dc-02.bunny-lab.io" >> /etc/hosts
echo "192.168.3.8 bunny-dc-01" >> /etc/hosts
echo "192.168.3.9 bunny-dc-02" >> /etc/hosts
#Start the necessary services
service winbind start