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
|
||||
|
||||
# 9.清理记录
|
||||
echo -e "清除记录"
|
||||
crontab -l | grep -v '@reboot bash /opt/set_ip.sh > /tmp/ip_tmp.log' | crontab -
|
||||
>/opt/ip.txt
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue