/root/firstboot.sh

1 개요[ | ]

/root/firstboot.sh
#!/bin/sh
rm /etc/resolv.conf
touch /etc/resolv.conf
rm /etc/ssh/ssh_host*key*

/etc/init.d/networking restart
dpkg-reconfigure -fnoninteractive -pcritical openssh-server
dpkg-reconfigure -fnoninteractive sysstat

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}