mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
8 lines
157 B
Plaintext
8 lines
157 B
Plaintext
#!/bin/bash
|
|
|
|
ifconfig eth2 down && \
|
|
ifconfig eth2 hw ether [ETH2MAC] && \
|
|
ifconfig eth2 up && \
|
|
ip route add 0/0 via [GATEWAY] && \
|
|
service dnsmasq restart
|