These notes capture some sample changes needed to convert a standard machine image into one suitable for publishing on the Amazon Marketplace. Essentially, zap any users's SSH keys, passwords, and shell history. This info may be used should an '-ami' option be added to 'reset_sdp.sh' in the future. #------------------------------------------------------------------------------ sudo su - rm -rf /home/centos/.ssh/authorized_keys /root/.ssh/authorized_keys shred -u /etc/ssh/*_key /etc/ssh/*_key.pub # clear /etc/shadow perforce pw passwd -d perforce history -c exit history -c exit
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 27421 | Robert Cowham |
Branching //guest/perforce_software/helix-installer/main/... to //guest/perforce_software/helix-installer/azure-quickstart/... |
||
//guest/perforce_software/helix-installer/main/src/AMIBuilderNotes.txt | |||||
#1 | 27139 | C. Thomas Tyler | Released HelixInstaller 2021.1.27137 (2021/01/03). | ||
//guest/perforce_software/helix-installer/dev/src/AMIBuilderNotes.txt | |||||
#1 | 27137 | C. Thomas Tyler | Added AMI builder notes. |