# - bof - # # - - # # - Create container templates - # :1 # - - # # - login into the contailer - # ssh 10.0.0.4; ssh is_derayo@10.0.0.4; :2 # - - # # - Update & clean - # sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y; sudo apt clean; :3 # - - # # - Clean ssh directory - # cd /etc/ssh; ls -lah; sudo rm -r ssh_host_*; :4 # - - # # - Empty machi-id file - # cat /etc/machine-id; 14b362a8b0c4429ea89894198e302c27 # - truncate - # sudo truncate -s 0 /etc/machine-id; :5 # - - # # - Shutdown container - # sudo poweroff; :6 # - - # # - Convert container to a template - # :7 # - - # # - Clone container template - # Full Clone Two times :8 # - - # # - Login on clones - # # - Clean ssh directory - # cd /etc/ssh; ls -lah; sudo rm -r ssh_host_*; sudo dpkg-reconfigure openssh-server; # - eof - #