Update entrypoint.sh
This commit is contained in:
parent
a31deb69e6
commit
f2ca0c5c1a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user