forked from yindun/ansible-devops
更新 scripts/set_ip.sh
This commit is contained in:
parent
ac9bf12296
commit
79285f9cc7
|
|
@ -51,6 +51,7 @@ hostnamectl set-hostname "${INBAND_IP//./-}"
|
||||||
bash
|
bash
|
||||||
|
|
||||||
# 9.清理记录
|
# 9.清理记录
|
||||||
|
echo -e "清除记录"
|
||||||
crontab -l | grep -v '@reboot bash /opt/set_ip.sh > /tmp/ip_tmp.log' | crontab -
|
crontab -l | grep -v '@reboot bash /opt/set_ip.sh > /tmp/ip_tmp.log' | crontab -
|
||||||
>/opt/ip.txt
|
>/opt/ip.txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue