Atualizar server1.sh
This commit is contained in:
13
server1.sh
13
server1.sh
@@ -1,13 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Server1, ok!"
|
echo "Atualizando!!!"
|
||||||
|
|
||||||
ip link set up dev enp0s3
|
wget https://git.tmferreira.tec.br/tiago.ferreira/GRC/src/branch/main/Server1/interfaces -O /etc/network/interfaces --no-check-certificate --no-cache
|
||||||
|
|
||||||
ip address flush enp0s3
|
|
||||||
ip address add 192.168.200.2/24 dev enp0s3
|
|
||||||
|
|
||||||
ip route add default via 192.168.200.1
|
|
||||||
|
|
||||||
apt clean
|
|
||||||
|
|
||||||
poweroff
|
|
||||||
Reference in New Issue
Block a user